- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2024 12:59 AM
I created a flow designer flow for an ask approval process in a custom scoped application. The approvers list is only populated after I refresh the form since the flow takes time to run after it's updated.
Is there a way to make this flow run as before business rule or run synchronously so that the user does not need to refresh the page in order to see the approvers list?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2024 01:00 AM
Flows don't run 'before' at this moment. It is taking the data you have as input, and 'before' could mean that the data isn't there yet. Hopefully something will be found for this, but if it really needs to be 'before', you have to use a BR.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2024 01:00 AM
Flows don't run 'before' at this moment. It is taking the data you have as input, and 'before' could mean that the data isn't there yet. Hopefully something will be found for this, but if it really needs to be 'before', you have to use a BR.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2024 05:52 AM - edited ‎05-08-2024 06:24 AM
You could create a subflow and trigger it from a business rule, making sure that when you trigger the subflow you use the synchronous code snippet. This will make sure the flow runs and finishes returning the outputs, now keep in mind this will make the form wait until the subflow completes, so it might or not be an interesting solution depending on the time it takes.