Workflow 5 - Processing Feedback in Html Viewer
Is there anyway in using Workflow 5 to provide feedback to the user that something in a workflow is currently processing and then disappear when it is done processing? This used to be fairly easy to do in Essentials Workflows, but I can't seem to find it in Workflow 5.
-
You could use the Run Command activity with command name ui.display-notification. To remove the notification, set the message to null, i.e. ={"message": null}
(If you want the workflow to run in GVH, use AddStatus and RemoveStatus instead)
0 -
Another option is to move your long-running parts inside a DisplayForm's load event, and then put a loading message on the DisplayForm. It's not always the best approach for every workflow, but helpful for many cases. One of the main places I see this used is in workflows that run reports. They'll have:
- a DisplayForm with just a single text element, which has a loading message
- a load event on the text element which runs the Run Report activity, and then updates the description of the text element afterwards to switch it from a loading message to a "Report is done" message with a hyperlink for the report
0 -
@Berend Veldkamp? Thanks for that. That helps a little bit and is better than nothing. Would be nice to have something that goes modal to prevent the user from performing any other action though (I know I didn't specify that).
0 -
@Amanda Frech? Thanks for the helpful idea. I will keep that in mind. Unfortunately I am outside a form and actually switching between workflows that have some initial work to do. Would be nice to have a modal option to prevent anything else from happening.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare