Requirement is to let users generate a document before they submit it for approval after which all fields are locked and they cant make changes, whereas a preview document helps them to check on any mistakes, rectify and then submit for approval.
To achieve this I should be able to trigger the workflow in such a way that when users want to have a preview and as many times they should be able to, just like click a button and generate the document as many times.
Question is how can i mimic this button kind of functionality to trigger my workflow, which generates the document.
Only struggle is to trigger.
I was thinking may be use a two option field and whenever user click Yes, strat the workflow, however, it then needs to be re-set to No to let them re-run again, seems bit fiddly as a solution.
Thanks,
PS