Flow Designer Ask for Approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 07:44 AM
Hello everyone!
So, I'm writing a flow to send an approval, and on approval or rejection, I would like my related lists to update as well as the fields on the form, so that the following sctask appears.
So far, I managed to get the fields update on the form live from approval or rejection. ServiceNow NowLearning mentioned about adding 1second wait time of wait after send approval action. And it seems to work just fine! But my issue is that the related list does not update.
As a workaround for this issue, I've done it so that every time an update is done on the record as a result of an action taken (task completion or request approval), the form then reloads the related lists to update the approval states and/or display the newly created sctasks.
But this solution is limited to the form needing to update itself first, as well as the latency of the instance... If there is no field updated, then nothing happens. Similarly, if the form is very slow, it will take just about over a second to update the fields, and then the related lists MIGHT or MIGHT NOT update.
And, well... Either ways, this doesn't inspire quality as this is merely just a small trick.
Is there any way to do this in a more, let's say 'clean' approach to my issue?
Thanks,
Darius