Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Create Catalog task using Subflow

Vamshi_ch123
Tera Contributor

Hi I'm trying to create catalog task if any error occurs in the subflow and as inputs I have given all the catalog variables and also request item as reference field(sc_cat_item). while creating task I'm giving this reference record but I was getting an error.(n: No valid req item found)

sRavani42_0-1667207527256.png

 

7 REPLIES 7

Hi @Vamshi_ch123 did you figure this out? I'm facing the same issue

Hi @Jorge Fernandez yes I got the solution when i select input.Request item record with out dot walking to number or item name just check below screenshots

Input created in subflow

sRavani42_0-1671153596424.png

 

Mapped the variable to catalog task in subflow

sRavani42_1-1671153680634.png

Mapped the input to the subflow when this is called to the main flow

sRavani42_2-1671153813655.png

 

 

Thank you so much

I have it that way but I'm still getting that error. Will try to do it directly in the flow instead