Vlocity Facts #35 || Few Topics Related To Omnistudio
1. How many levels of sobject relationships we can query in omnistudio?
We can query up to five levels in DataMappers where we can extract the field values of the related objects. Consider below screen shots as example.
ERROR at Row:X:Column:XXcannot query foreign key relationships more than 5 levels away from the root SObject 2. What is chain on step in Integration Procedure?
When an OmniScript calls an Integration Procedure Action with Chain on Step enabled, the next step of the action always runs in its own transaction.
3. How to solve uncommitted work pending error.
When we have Data Mapper post action followed by Http Action in integration procedure. When executing, it will give us an error.
Reason for this error: Data Manipulation Language (DML) actions prior to HTTP external callouts are prohibited by the Salesforce platform.
To solve this: You can activate Chain On Step for the Data Mapper Post Action if an HTTP Action comes after it and you need to make chainable or queueableChainable as 'true'.
Reason for this error: Data Manipulation Language (DML) actions prior to HTTP external callouts are prohibited by the Salesforce platform.
To solve this: You can activate Chain On Step for the Data Mapper Post Action if an HTTP Action comes after it and you need to make chainable or queueableChainable as 'true'.
Can you explain the chain on step a bit more with examples. If there are 3 steps(actions) in Integration Procedure. And if we enable chain on step on second step. What happens,which steps will be run seperate transaction?
ReplyDeleteThe action which you enabled chain on step will act as separate transaction.
DeleteWat abt 3rd step
Delete