I have a requirement to send different email notification on different workflow triggering actions?
Like if workflow trigger is set to new item creation - New item created email will trigger.
If workflow trigger is set on modification - Modification email will trigger.
If workflow modification have condition (status = closed) - Closed email will trigger.
Is there any way to achieve this in a single workflow instead of creating three different workflows.
you can use conditional paths inside your workflow to achieve this.
The first condition checks if the fields "Created" and "Modified" are equal. They will only be equal when the item was created but never updated. If this evaulates to true, you have the item created event triggering your workflow.
If this is not the case, we are running on a modification and just need to check if the "status" field equals "closed". If it is closed, send out the closed notification. If not, send out modification notification.
You could use run parallel actions. Then you could use various triggers.
I've attached the sample workflow. The status column is the only column I created in the list.