The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Based on the field selection in Ritm catalog tasks should be created

Vasavi O
Tera Contributor

Hi All,

Requirement :

I have a variable which is only visible on RITM and hidden on catalog form , so that  variable field on RITM will have 2 options which are yes and NO so based on which 2 tasks should be configured in flow , during the second level approval once approver approved and select the any one choice and saved the form  then based on the selection tasks should be created.

1) if Yes is selected then TASK A and Task B should be created.

2) else No is selected the Only TASK A should be created.

I have created the flow in flow designer but somehow the conditions are evaluated falsea and tasks are not generated ,  How can this be achieved.{ Attaching the images for reference}

 

Thanks in advance,

Vasavi

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Vasavi O 

after the approval you can again add a fresh "Get Catalog Variables" flow action.

Remember the 1st "Get Catalog Variables" flow action will hold the earlier values and if you try to access the variable value again using the same step it will give old value.

this KB talks about the same OOTB behavior

The "Get Catalog Variables" Flow Action will return Outdated Variables 

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