Flow Designer Custom action - 'lookup record' step

CCZMAX1
Mega Sage

Hi, I have a 'Create Record' step in a custom action that creates a record in the required table.  My next step is a script and I want to use the sysid of the created record in the script but is does not appear to work when I do 

var sysid = inputs.fd_data._1__create_incident.record.sys_id;  Nor can a see how to set an output from a 'Create Record' step.
 
Can anyone point me in the right direction.
Many thanks
Max
 
 
1 ACCEPTED SOLUTION

Shruti
Mega Sage
Mega Sage

Hi

Create input variable in script step 

Shruti_0-1730711444159.png

 

View solution in original post

2 REPLIES 2

Shruti
Mega Sage
Mega Sage

Hi

Create input variable in script step 

Shruti_0-1730711444159.png

 

Thank you so much this is work.  I was creating the input in Actions inputs rather than directly in the script where is was being used.

 

Max