
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2022 06:45 AM
I am using flow designer and trying to use a wait condition based on the previous task being updated (using the sys_updated_on field) but cannot seem to get it to work. The wait condition never progresses, even when the task has been updated. I've tried using a script condition of sys_update_on.changes() as well as updated is after created, but both don't seem to progress beyond the wait condition. Does anyone know how to get around this?
Cheers,
Brad
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 02:50 AM
Hello Brad,
If you want a condition where you need to make the flow to wait till the time next update happens on the record then I believe it will be difficult to apply the condition using the Updated field as I don't see changes operator for any field in Wait for condition action.
So I would suggest to use the Updates (sys_mod_count) field you can apply the condition to check the updates count is increased by 1. To achieve this you can create a flow variable Update Count and check the current Updates field value on your table and then increment it by 1 and return to flow variable as shown below:
Now in your wait for condition you can check for Updates field = to Update count as shown below:
So your flow will wait untill next update happens on your record. You can apply the similar logic for Updated field like you can get the current updated field value and add 10 seconds to that time and store this Value in Flow variable (Updated Time). Then in your Wait for condition action you can apply the condition Updated is at or after Updated Time. But with date field it will be little complex because in very rare case if may happen that the record is updated within 10 seconds and in this case Wait for condition will be passed. so will need to check on how many seconds you need to add to current, which can be little tricky.
Please mark this as helpful/correct, if it answer your question.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2022 06:49 AM
Please share your current approach as detailed as possible with complete screenshots. Any cut screenshots are not helpful.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 02:50 AM
Hello Brad,
If you want a condition where you need to make the flow to wait till the time next update happens on the record then I believe it will be difficult to apply the condition using the Updated field as I don't see changes operator for any field in Wait for condition action.
So I would suggest to use the Updates (sys_mod_count) field you can apply the condition to check the updates count is increased by 1. To achieve this you can create a flow variable Update Count and check the current Updates field value on your table and then increment it by 1 and return to flow variable as shown below:
Now in your wait for condition you can check for Updates field = to Update count as shown below:
So your flow will wait untill next update happens on your record. You can apply the similar logic for Updated field like you can get the current updated field value and add 10 seconds to that time and store this Value in Flow variable (Updated Time). Then in your Wait for condition action you can apply the condition Updated is at or after Updated Time. But with date field it will be little complex because in very rare case if may happen that the record is updated within 10 seconds and in this case Wait for condition will be passed. so will need to check on how many seconds you need to add to current, which can be little tricky.
Please mark this as helpful/correct, if it answer your question.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 09:26 PM
Thanks Mahendra. I've set the wait condition to 'updates greater than or is 1' and it works perfectly.