How to delay creation of record until the condition matches in the flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 05:40 AM
Hi Developers,
I am facing an issue to build the below usecase:
Usecase: Whenever a change_request is created with an employee number value, the flow should check the employee number in the sys_user table of the change_request record. If the user record is not present in the sys_user table with the employee number of the change_request record, the flow should wait for 2 hours. If the user is created with the same employee number within 2 hours, the flow should proceed. If the user record is not created before 2 hours, it should throw an error.
Please find the attached screenshot and suggest what needs to be done.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 07:22 AM
you can try to use Do Until in flow which checks and loops
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 07:53 AM
How to do we add duration in Do Until loop?