The default emails sent through the Events section have these variables:
%AppName%: %Module% - %NumErrors% Errors
For some reason the %Module% variable is a combination of %WorkingDir% and the workflow name. Does the workflow name have it's own variable that I can use here instead of the %Module%? The title is way too long with the path included.
Solved! Go to Solution.
Hi @FilipR
There is an environment variable called [Engine.WorkflowFileName] that you can use in a workflow.
I wonder if this can be used in an event, maybe %WorkflowFileName%
I can't test it myself as I don't have a smtp server set up.
Hi @DavidP
Unfortunately it doesn't work. I have tried both %WorkflowFileName% and %Engine.WorkflowFileName%.
**bleep**! It was a wild guess but I was hoping we'd get lucky!
I am also working on a similar task and trying to find out a solution. Is it possible if I can know an alternative solution to this problem? I did try %Engine.WorkflowName% It did not work for me.
Hi @FilipR
You can always hard code text in the subject or body. This way you can just hardcode the workflow name for your workflows. That's what I tend to do.
Hope this helps : )
Thanks for your quick response, but I think you can use hardcode text in the tool inside the workflow. but not sure if it can be done inside the event configuration in the mail subject
I think you are right. I will try this solution. But I would still be interested to find a solution that could be more efficient.
Happy to help : ) @FilipR
Cheers and have a nice day!