I work aound the Email Event to send email notification about the status of the approval process whether it has been approved or declined.
Step-1:
Now, I would like to send email FOR Approval or Declining the worklist item. User gets an email with message body as
'To action your task via email, respond with one of the following actions:
Approve
Decline
Once the user type the Approve and reply to the email , the task action should action accordingly and advance the workflow.
Step-2: Approval Task should be two parallel task. First one is the smartform activity and another one in parallel is email approval task. User can approve either through email or smartform and either one will advance the workflow to next approval task. Concept of parallel activity.
Please help me find the resources or any guidance will be greatful to work on this scenario. Thanks a lot.
Best answer by ScottPK2
Hi,
First, you have to have an Exchange Server with EWS properly configured.
Finally, if your process in the client event you will:
Enable sending task notifications as it is these notifications that are responsible for Smart Actions.
When defining actions, be sure and enable "Make the Action Available without opening the work item". (Thick client verbiage, there should be something similar in the web designer. This is enabled per action.
Finally, if your process in the client event you will:
Enable sending task notifications as it is these notifications that are responsible for Smart Actions.
When defining actions, be sure and enable "Make the Action Available without opening the work item". (Thick client verbiage, there should be something similar in the web designer. This is enabled per action.
I could able to send email notification and user can able to 'Approve or Deny' in response to the email and workflow activity advance to the next level. So far so good. However, if the user deny, I have a required field validator that Comments field (textbox) should be filled in case of SmartForm which I do not know how to handle this and the result is activity completed without advancing to the next task/activity. Is this just fair enough to supply the keyword like Approve or Deny and does not support validation. I wonder if it could be possible in this lazy approval. Please share some ideas. Thanks a lot once again.
That is the one missing feature in Smart Actions, the ability to collect comments. There are some solutions floating around that come up with a way to handle comments that require some 3rd party shenanigans.
What you could do in the short term is uncheck "Make this available...." on the decline action when you create it which till disable it from lazy approval which then will force the user to open the form to action and provide the comments.
Thank you Scott. How to handle the situation not to complete the task even if the user Deny without comments. Is there any exceptional handling in email approval if required field are not supplied rather than not giving an access to 'Deny' action. and keep the activity still active and send email 'error has occured as comments required and submit through form'. Just a thought.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.