Our last web interface screen contains an "Approve" button with a defined "Redirect" as on-click event. This "Redirect" will display the main application screen afterwards. As usual the underlying process will continue and perform some remaining process steps.
Now the question:
I it possible to delay the "Redirect" until the process has been finished?
We want to ensure that the main application screen is only displayed after the process has performed all necessary tasks.
Or is there any other way to achieve this result?
Thanks,
Oliver
It is also recommanded to use a spinner, as suggested in the link above.
Finally, you will also add a button that will be "not visible". The action to associate to this button will be "Execute script" (this script will be empty). The action associated to "On click" event of this button will be "Redirect". So, you will redirect with this button. The "clik event" will be made by a javascript code that you will associate to "Completed" event of process listener (ButtonID.setOnClickAction(action)).
Note: The design of your process listener will be all the steps you want to perform after the submit event.
Best regards,
Richard Manga.
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/b17aa0e9-85ce-4eef-82df-9f9ea095e2ca%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.
Thanks for that advice.. I understood!
But isn't that against the "Best Practice" approach of RMP? I thought it's not recommended to use process listeners for starting workflow processes?
It also would "break" my main process instance:
- we have one web interface with a launch screen
- the submit button triggers a process which has some manual tasks in between
- now after the final confirmation screen we would trigger another new process instance by using the proposed process listener
=> As result I have two seperate process instances for one workflow
Preferable we would like to maintain only one process instance for every workflow.
Thanks for any comments!
Oliver
Oliver
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/e3073ff6-2cd5-415d-87ac-eafab277a9e1%40runmyprocess.com.
OK, thanks!
We will give it a try ..
Kind regards,
Oliver