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.

setWorkFlow(false) in flow designer

Chinmayee Mishr
Tera Contributor

Hi , 

I have a use case, where if an user with role x_mgr cancels one catalog task , all the task in the related ritm should be cancelled. requirement is to do it using flow designer. Lets say Its my flow_1. There is already a catalog item flow is designed to create task2 upon closure of task1. task3 upon closure of task4 and so on. Lets say flow_2.

So even though my flow_1 is all in place , Its not able to cancel all the tasks in the ritm. because of flow_2. So I end up still having open tasks. How do I stop running flow_2 from flow_1

Please advise.

Best Regards,

Chinmayee Mishra

 

5 REPLIES 5

kowsalya
Tera Contributor

Hi @Chinmayee Mishra 

 

I too have the same requirement, and I created a action and in action I tried cancelling the flow context but it does'nt work for me. could you share the solution/code/action screen shot.

below is the code i used in action.

find_real_file.png