Workflow Wait for condition is not working

Community Alums
Not applicable

i created to Wait for condition wait 4 task state change to Completed. but it is not working. Not able to find the issue. anyone can suggest ? 

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Hi you can use join activity for this no need wait for condition

example: 

https://community.servicenow.com/community?id=community_question&sys_id=c722da0cdbd8c8502be0a851ca9619e2

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/workflow-activities/reference/r_JoinActivity.html

Regards
Harish

View solution in original post

4 REPLIES 4

Mark Roethof
Tera Patron
Tera Patron

Hi there,

What's the reason for the "Wait for Condition"? Have you also considered using a "Join" activity?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Community Alums
Not applicable

Reason to create Wait condition to complete all 4 task to state change to Close completed  then move next task. 

The 4 task in the red box.  

 

Thanks 

Suraj

Hi you can use join activity for this no need wait for condition

example: 

https://community.servicenow.com/community?id=community_question&sys_id=c722da0cdbd8c8502be0a851ca9619e2

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/workflow-activities/reference/r_JoinActivity.html

Regards
Harish

suvro
Mega Sage
Mega Sage

This workflow runs on the requested_item table. So your wait for condition also works on requested_item table. 

So it is not waiting for all tasks to closed complete. It is waiting for the RITM to be closed completed. Either you can use join activity or you can use a if activity to check if all the tasks are closed or not via script.