You need to sign in to do that
Don't have an account?
Karan Joshi
DML operation Insert not allowed on List<MlIntentUtterance>
Hi I am working with some custom object, and my task is whenever any records created of that custom object I want to process that record and insert it into MlIntentUtterance object(MlIntentUtterance is a Standard Object - You can find this object in workbench).
So for this, I have created trigger on that custom object and performing all the above operations but I am getting this exception DML operation Insert not allowed on List<MlIntentUtterance> when I am trying to use dml command insert on MlIntentUtterance list.
I am new to salesforce, Anyone know what I am doing wrong or what should I do to get rid of this exception...
Thanks
So for this, I have created trigger on that custom object and performing all the above operations but I am getting this exception DML operation Insert not allowed on List<MlIntentUtterance> when I am trying to use dml command insert on MlIntentUtterance list.
I am new to salesforce, Anyone know what I am doing wrong or what should I do to get rid of this exception...
Thanks
>> https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mldomain.htm
As mentioned in the above article utterance is the only field in the object.
>> https://help.salesforce.com/articleView?id=bots_service_intent_import_set.htm&type=5
>> https://chatbotslife.com/bulk-load-utterances-for-einstein-bots-32c7de8a5038
The above links show a way to insert list of records.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
All Answers
>> https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mldomain.htm
As mentioned in the above article utterance is the only field in the object.
>> https://help.salesforce.com/articleView?id=bots_service_intent_import_set.htm&type=5
>> https://chatbotslife.com/bulk-load-utterances-for-einstein-bots-32c7de8a5038
The above links show a way to insert list of records.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
From the links you have given I came to know that we can insert data either through Einstein intent sets(In Salesforce Org) or through wokbench.
Now I want to insert records into intent sets without salesforce org but through apex class.
Is it possible, to insert records with the help of apex class ?
Thanks.