Flow designer- task sysid

Sonali Jadhav
Mega Expert

Hi ,

 

i am creating flow for catalog item through flow designer.

i am creating one catalog task ,in the next action i need to write one script where i need sys_id and assignment group of previously created catalog task.

how can we get that sys id and assignment group in the script.

can someone please help me with this.

 

Regards

1 ACCEPTED SOLUTION

Hi,

While creating action, you will create inputs for it. Create input like below. Then you can use this variable in your action.

When you'll call this action, it will ask for input from flow. Pass the sys_id from data pills to this action.find_real_file.png

Calling from flow:

 

 

Jagjeet Singh
ServiceNow Community Rising Star 2022/2023

View solution in original post

10 REPLIES 10

JagjeetSingh
Kilo Sage
Kilo Sage

Hi,

Look in the data pills under your action to create task. You'll get it in the dropdown.

find_real_file.png

 

Mark my response correct if it works for you.

 

 

 

 

 

Jagjeet Singh
ServiceNow Community Rising Star 2022/2023

Prasad Pagar
Mega Sage

Hi @Sonali Jadhav 

You need to use Lookup Record Action to find that task sys_id after its creation for the next activity

Thats the only way to go 🙂

Thank you
Prasad

But I see it is available in data pills under the create task action. Isn't that correct?

find_real_file.png

Jagjeet Singh
ServiceNow Community Rising Star 2022/2023

Yes you are right 🙂 I missed that. We can use that too.

Thank you
Prasad