how to pass variable from Catalog item to catalog task in flow designer ?

chercm
Mega Sage

i have created a name_of_user variable in the catalog item but how can i pass that information to over write the generic requested for field on catalog task ?

 

chercm_0-1696643212065.png

chercm_1-1696643230592.png

 

1 ACCEPTED SOLUTION

@AnveshKumar M 

 

i found the solution that i created a variable on the dictionary of the sctask form and to my surprise that field came out on the flow designer and that fixed my issue . 

 

chercm_0-1696687161253.png

chercm_1-1696687259796.png

 

 

 

 

 

 

 

 

View solution in original post

5 REPLIES 5

AnveshKumar M
Tera Sage
Tera Sage

Hi @chercm 

You can pass the variables while creating the Catalog Task using Create Catalog Task action. You just have to select your catalog in the template catalog item and all the variables will be displayed then using the slush bucket you can pick which variables you want to display in catalog task. For more info you can refer the screenshot below and the documentation link. 

 

IMG_20231007_072445.jpg

 

https://docs.servicenow.com/bundle/vancouver-application-development/page/administer/flow-designer/r...

 

Please mark my answer helpful and accept as solution if it helped you 👍

Thanks,
Anvesh

@AnveshKumar M 

 

how to choose which one to use on which part of the catalog form ?

@chercm I didn't get you! If it's about variables you can choose them right in slush bucket itself.

Thanks,
Anvesh

@AnveshKumar M 

 

i found the solution that i created a variable on the dictionary of the sctask form and to my surprise that field came out on the flow designer and that fixed my issue . 

 

chercm_0-1696687161253.png

chercm_1-1696687259796.png