wait for condition getting cancelled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 02:37 PM - edited 11-30-2023 03:41 PM
Hello Experts,
In my workflow i am using the Wait for Condition. Till the time it is waiting for answer to be true, it is waiting. As soon as the answer becomes TRUE, the Wait for Condition is getting cancelled. Any idea where i am doing wrong or how to debug this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 06:25 PM
HI @deepika46 ,
I trust you are doing fine .
Try to evaluate the wait for condition for that record from the background script and see whereexactly its breaking.
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 12:23 PM
when asnswer=true
before answer=true;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 12:23 PM
Any way to debug this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 12:33 PM
Hi @deepika46 ,
May I know any specific reason to create task from run script?
As OOTB there Create Task activity & catalog task activity present which have an inbuilt wait for condition.
You can use that instead of this run script.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 12:41 PM
it is not cataog task. The main what i am checking in that run script is that i have one field called status
in the wait for condition i am checking if the staus==success||status==failure.{answer=true}
By default status is in ready .
Till the time the status is in ready the wait for activity is green. As soon as the status becomes faillure , insted of going forward, the activity becomes red.