Workflow and user decisions
I dont have much experience in workflow and I have to code something. At present we have a task which takes the user to transaction MIR4 and then the task is considered completed.
The user wants to go to tcode MIR4 and then if any changes are made and save button is explicitly clicked, then only the Workflow task/item considered closed, else the user should be prompted that do they want to complete or cancel.
If its a complete then the document is saved and if not then workflow task/item stays in his/her inbox.
My doubts are :
1> How can I prompt user if they want to complete or cancel ? I am thinking User decision, will it be right?
2. How can I manage to keep the workflow taks in inbox, should I do a loop to itself?
3. How can I find the document was saved or not ? I am thinking change documents.
Can you please advice?