Workflow wait for condition struck at running?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 09:40 AM
Wait for condition met satisfied but it not move forward
( Workflow configured in request table)
var gt = new GlideRecord('consume_asset_task');
gt.addQuery('u_request' , current.sys_id);
gt.addQuery('stateIN3,4,7'); // closed completed . closed incompleted , closed skipped
gt.query();
if(gt.next()){
answer = true;
}
else{
answer=false;
}
Workflow
Task
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 09:43 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 02:12 PM
Hi @sukran,
When does the [consume_asset_task] state change occur?
Does it happen after the Wait for condition is executed or before?
If it's after, unless you apply an update to the current record (Request record), the Wait for condition will not be evaluated again.
Cheers