How to get which event has been trigeered in WF
I have designed a custom workflow for PR release strategy copying the standard one to fulfil my additional requirement. I want to send a mail only when the final release has been done for the PR.
I am thinking to make an activity at the last, just before the workflow is completed to do the same , since i will have to check whether the release code for which the WF has been triggered is the last release code for the PR or not.
WF can be completed by many events for PR release strategy like PR can be released, rejected etc. Is there any way to check which event has been trigeered just before the WF is completed ?