How to open multiple catalog tasks based on selection of multiple checkbox

JRY
Mega Guru

Hello Team,

I'm trying to open multiple tasks based on multiple selection of checkbox.

Example : I have Request Type : A, B, C this are all check box not drop down, here when i select A then it should create only one Catalog Task if I Select A & B then it should create two catalog task and if I select A, B & C then it should create three catalog task I have tried If condition it didn't work.

I have tried Branch Activity before If Activity it's creating Tasks but when I close all the tasks it's not ending the Workflow. as you can see below 

find_real_file.png

 

Can anyone help me where i went wrong.

 

Thanks,

JRY

1 ACCEPTED SOLUTION

As I previously said, attach the Incomplete to next activity [ Set Values ].

The world works with ServiceNow

View solution in original post

19 REPLIES 19

As I previously said, attach the Incomplete to next activity [ Set Values ].

The world works with ServiceNow

Your workflow should be like:

find_real_file.png

 

Thanks,

Sagar Pagar

 

The world works with ServiceNow

The join activity expects that all the task before it has completed, sorry my bad didn't look at that before. Use separate task closed activity don't use join as not all task are created. You may want to add wait for condition until to check if all task are completed.

 

Regards

Vinayak

Or i think the best solution is if you want to continue using the join is to drag if the "No" of the if condition directly to the join, as in this case join will wait until the task that has been completed, for those task that are not created the flow has already come to end at the "join" activity.

 

Regards

Vinayak

Yash Agrawal1
Tera Guru

Hello Sd,

Try to configure your if condition in below way to check the checkbox is checked or not,

find_real_file.png

Here I am checking the Variable of "ACCESS" catalog item.

So in your case try to check it is true or not, If checkbox A is checked then attach it to Catalog TAsk Activity.

Please Mark it helpful/correct if my answer helps in any way to resolve your query.
Reach out to me if any more help required.

Regards

Yash.K.Agrawal