set all other tasks closed incomplete if any one task is closed incomplete.

snow_p
Tera Contributor

Hi,

We have a requirement, where three tasks are triggering at same time and if any one of the task is closed incomplete, I need to set the remaining tasks to closed incomplete and set the RITM to closed incomplete. Do I need to include any run script in workflow or any Business Rules ?

Looking for script suggestions.

 

7 REPLIES 7

@snow.p 

I believe I have answered your original question.

Would you mind marking my response as correct and helpful so that it benefits future readers.

The discussion on the thread can still be continued once appropriate response is marked as correct.

Regards
Ankur

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

Hi Ankur,

Yes, it worked but as mentioned in the above message,

Why is it showing error in orange color on the workflow with cancelled Message?

 

 

Hi,

that's because you updated the state from script and hence the activity got cancelled as it's of no purpose now.

Regards
Ankur

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