In our last post we learned about basics of Vlocity Integration Procedure. In this session we will learn the Integration procedure Advanced concepts like loop blocks in IP, List Action, Long Running Transactions, Handling Exceptions and Rollback on Error.
Integration Procedure- Loop Blocks
A Loop Block iterates over the items in a data array to repeat the Actions in the Loop Block for each
Integration Procedure- List Action
Merges multiple lists by matching values of specified list item JSON nodes.
- A basic merge matches node names exactly.
- An advanced merge matches nodes that have different names and/or reside at different levels in the incoming lists.
Integration Procedure- Long Running Transactions
Use chainable and queueable chainable settings to avoid hitting Salesforce governor limits when
invoking long-running Integration Procedures. You can also chain on one or more specific
Integration Procedure- Long Running Transactions Limits
Integration Procedure- Handling Exceptions and Rollback on Error
Rollback on Error Configuration – Dataraptor. Create Account and the associated Opportunity, only
when no errors.
Try Catch Block – Integration Procedure
Rollback on Error Activation – Integration Procedure
All changes are committed to the database only after all operations in the transaction finish running without errors. If an error occurs in any of the intermediate steps with the Rollback On Error option enabled, all database changes are rolled back, and the transaction isn’t committed.
Integration Procedure Advanced Concepts Video
Check our training session and let us your feedback if you like it. IP is also very useful for API callout without any code.
I hope this post helped you to understand the Integration procedure advanced concepts. If you are new to OminStudio then please check our FREE Salesforce OmniStudio Training and let us know if you like our training, Which topic you want to learn next in Apex Hours.