- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 06:11 AM
Hello All,
Thanks for looking into my query.
We have created a REST Message which has 2 POST and 1 GET method in it.
we are triggering these methods from flow designer using a custom action.
GET method is only to check the status of the Request as asked from the previous APIs.
in our script we need to have a BUFFER TIME of 2 minutes before we trigger last method(GET Method)
please help how we can do the same.
we are triggering the APIs
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 06:39 AM
Hi,
You can call "wait for duration" flow logic, set duration type as Explicit and wait for 2 minutes. Add your last get message call after this "wait for duration" activity.
Palani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 06:39 AM
Hi,
You can call "wait for duration" flow logic, set duration type as Explicit and wait for 2 minutes. Add your last get message call after this "wait for duration" activity.
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 06:42 AM
You could set up (that is, create) a scheduled script execution for each request:
Run: | Once |
Starting: | 120 seconds from now |
Run this script: | Check the status of request X |
Set that up after the second POST. I would recommend whacking the old SSEs nightly so they do not pile up.
If you have some flexibility on the timing you could instead have a single SSE running every two minutes to check all requests >= 2 mins old and not already checked.