Wait for condition with Iteration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2013 02:30 PM
Hello!
I have a workflow that has a catalog task that must expire. I need this task to have a limit of 24 hours, and then close if the state is not closed. However, should the task be closed within 24 hours, I would like the workflow to proceed.
I have set the task to not wait for completion and put a timer for 1 day after the task, however this does not account for the task being completed before 24 hours.
I would need to check the state for 24 hrs., and if state not closed = yes, keep iterating until the state is closed. The problem lies in wanting the task to auto close after 24 hrs. if it has not been closed by the fulfillment group.
Any help would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2013 07:34 PM
What if you did a 'Separate line' in your WF
- timer to wait 24hrs
- Run Script to check if task 'closed'. If closed ignore; if NOT close task, iterate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2013 05:09 AM
The concern I have with this method is what if the task was closed prior to 24 hrs? The timer would then force it wait regardless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2013 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2013 09:02 AM