subflow - how to use reference field?

Hafila Hatta
Tera Guru

hi. i want to pass Assignment Group into a subflow to be used in Create Catalog Task action. so i have declared input below as reference. 

 

then i used that input to set the Assignment Group for the catalog task. however once i tested it, the assignment group is empty. any idea why? in the execution, seems like the value is there

HafilaHatta_0-1735292847090.png

HafilaHatta_1-1735292895105.png

HafilaHatta_2-1735292967549.png

HafilaHatta_3-1735293018023.png

 

 

1 ACCEPTED SOLUTION

hi. i didnt do exactly as per your suggestion as it didnt work. but it gave me an idea. 

i added a lookup record action in the flow to lookup the subflow input = assignment group in table. 

and reuse the value in the catalog task. 

 

thanks for your help

View solution in original post

7 REPLIES 7

@Hafila Hatta 

Hope you are doing good.

Did my reply answer your question?

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. i didnt do exactly as per your suggestion as it didnt work. but it gave me an idea. 

i added a lookup record action in the flow to lookup the subflow input = assignment group in table. 

and reuse the value in the catalog task. 

 

thanks for your help

@Hafila Hatta 

the way I suggested should also work

Can you share what did you try ?

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