function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shamcashamca 

OmniStudio - where is the value for {recordId} set?

Just trying to clear something up in my mind about passing the AccountId around.
 
When a FlexCard Input Map is configured as:
 Key = AccountId Value = {recordId}  
where is {recordId } previously defined?
PriyaPriya (Salesforce Developers) 
Hi Shamca,

Can you please elaborate your requirement ?
 
shamcashamca
Sure thing -

In this trailhead :
https://trailhead.salesforce.com/content/learn/modules/omnistudio-omniscript/create-a-simple-omniscript?trail_id=build-guided-experiences-with-omnistudio

In the 'How Data Flows into and out of an OmniScript'...it refers to 'RecordId' but I can't figure out how the RecordId value is set in the first place, in order to pass onto the var AccountId.

I would appreciate any thoughts you have.

Shaun
nhgj jhnythynhgj jhnythy
If you are facing issues with 'RecordId' I think you can try this trick (https://proremovalsrochdale.co.uk/) for better result I applied this function so many times and it worked...