The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to pass sys_id in playbooks

BhavaniShrM
Tera Contributor

Hi Everyone,

I am working on a Playbook flow and have a question about passing the sys_id between activities.

 

In Activity 2 (screenshot attached), I’ve created a flow that generates an HR task when a case is created. Now, in Activity 3, I’m using the User Form activity to collect input from the user regarding that HR task—specifically allowing them to update or close it.

 

My question is:
How can I pass the sys_id of the HR task created in Activity 2 into Activity 3 so that the User Form can reference the correct task?

 

Any guidance or examples would be greatly appreciated!

 

 

Thanks in advance.

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@BhavaniShrM 

screenshots missing

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Attached screenshot. Thanks @Ankur Bawiskar

@SoniaS643255725 

the Create Record has output containing the sysId

Then you can make use of Look up records activity to get the record using the record created sys_id from previous step

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 
Bhavani has attached the screenshot, could you please guide how we can pass sys id from one activity to another?