Button to save file, run workflow and then return back to display page

Hiya Again!

We need some help creating a button that does the following:

  1. Saves the form then
  2. Runs a 2013 workflow (link to the worklfow is: javascript:StartWorkflow4('a35d7e42-13d8-4ebc-a67b-4826d27ab04b', '7', '{6D7B014B-53D9-4570-8BF1-E7846937DCE6}'))
  3. waits for the workflow to finish (or if that isn't possible, waits for 10 seconds)
  4. Reloads the display form for the item (has to reload the form unless there is a way to update the related items without reloading the whole page)

Thanking you much!

Hello @Jamal_Smith-Graham,

Plumsail Forms are compatible with Microsoft Flow. You can run the workflows when the form submitted. Please see the "Send a notification by e-mail" article for the example.

But if you want to keep the item opened till the flow completion, unfortunately, there is no good way for it.

Alternatively, it might be possible to perform required actions while the form opened with the help of the JavaScript.

If the option with JavaScript replacing Flow is suitable, please give more details about the steps in your Flow.