Skip to main content

Hi All,

I'm currently working on an omniscript and I'm struggling to figure out how I can store the output of a new record ID in order to reference and update the same record in the omniscript - here's an outline of what I'm trying to achieve:

 

  • Step 1: customer provides address inputs (complete)
  • Integration Procedure (with load dataraptor): creates new record (complete)
    • How can I store the ID of this new record as variable (similar to how you can in lightning flows) - (still trying to determine how to do this)
  • Outside of omnistudio: google APIs trigger/Apex classes run logic to set data on new record (complete)
  • Extract the new record and use fields set by apex trigger/classes - ideally by record ID from integration procedure after Step 1
  • Step 2/3: dynamically display components based on the values fetched from new record
  • Integration Procedure (with load dataraptor): update the initially saved record (from the output record ID created in IP/DR used in step 1) using upsert key in IP/DR

 

TLDR;

Is there any way, similar to flows, that I can store the variable of the new record and reference it in other IPs/DRs in the same omniscript to update the record?

@* Service Cloud *

2 answers
0/9000