• Karan Joshi
  • NEWBIE
  • 10 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
Hi All,

I want to add data into MIDomain metadata, at first I have tried it with as we normally do with stadnard/custom object but I found that MIDomain in not Object but Metadata. 
So, I want to know how can I insert data into MIDomain metadata using apex class

Thanks.
Hi All,
 
As per my understanding, We can add Utterances either through Einstein Intent Set (Salessforce Org) or through workbench.
But, Consider the scenario that I have created intent in Einstein intent sets and I want to add utterances into that intent but using Apex class.

Is it possible ? And If yes then How ? 

Thanks   
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
Hi All,

I want to add data into MIDomain metadata, at first I have tried it with as we normally do with stadnard/custom object but I found that MIDomain in not Object but Metadata. 
So, I want to know how can I insert data into MIDomain metadata using apex class

Thanks.
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
difference between "Trigger.New" and "Trigger.old".