Wait for condition getting cancelled everytime the condition meets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 07:19 AM
Hello experts,
i Have a workflow and inside that workflow i have a wait for condition activity. Please find the code snippet below:
//START
//END
What is the script doing:
We have a table called "u_vm_automation_scheduler" and we have a status field which is originally in "ready" state. In my wait for activity, i am making the workflow to wait untill and unless the status field is Success or Error.(Script above). Whenever the Status becomes Success or Error, the Workflow rather than moving forward, it is getting cancelled everytime. Till the time the status field is ready , the Wait for condition is waiting but as soon as the condition is meeting for sucess or error the workflow is instantly getting cancelled. Can anyone tell me what i am doing wrong.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 07:44 AM
Hi @Brad Bowman ,
Still no luck. the workflow is getting cancelled again. Is there any way i can debug this worfklow as why it is getting cancelled as soon as the condition is met. log also wont help over here i assume

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 07:53 AM
@deepika46 what is the result when you check workflow context?
can you please share the screenshot of your workflow?
Is your workflow/ritm getting cancelled for any reason?
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 08:26 AM