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.

Correct requested for is not showing on request (Raised record from Catalogue Item)

Priya Singh 2 2
Tera Contributor

Hello Team,

 

I created a new Catalogue Item and used one existing variable set to set request information and I need to set the same requested for on request requested for field what I am choosing on Catalogue item but in my catalogue item it's setting logged in user as requested for and same variable set is setting the right value on another catalogue item, I created a flow designer and in the log correct requested for is showing :

PriyaSingh22_0-1759236921610.pngPriyaSingh22_1-1759236963069.png

PriyaSingh22_2-1759237048133.png

 

I am not sure what is going wrong here and why correct value is not updating and how we can fix this issue ?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Priya Singh 2 2 

requested_for field on REQ will always be populated with logged in user because of the way how dictionary is configured, because of the default value as logged in user

AnkurBawiskar_0-1759237757345.png

You can use "Update Record" flow action to update the Request->Requested For with the variable using "Get Catalog Variables" flow action

Like this, I didn't select any reference variable so I didn't see that, but you can select your variable (Requested for)

AnkurBawiskar_1-1759238089443.png

 

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

View solution in original post

5 REPLIES 5

I accepted thank you so much, one more question related to Flow Designer only - 

 

PriyaSingh22_0-1759846667312.png

this workflow has different task creation as per different conditions, in the attached screenshot I am trying to put a condition if all SCTASKs are closed, request should be closed but in if condition I am not able to put task state all together, one of the tasks is grade out, how I can achieve it?