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

Ankur Bawiskar
Tera Patron
Tera Patron

@Vamshi_ch123 

Is your input variable of type Reference to RITM table?

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

Hi Ankur,

Yes I have Given the reference to to the Request Item and given Input in the main flow.

sRavani42_1-1667209735279.png

 

sRavani42_0-1667209655408.png

 

@Vamshi_ch123 

Is this happening always?

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

Hi @Ankur Bawiskar 

Yes it is happening still with the same error message.

sRavani42_0-1667276978386.png