Event e-mail title variables: workflow name?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Labels:
- Events
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @DavidP
Unfortunately it doesn't work. I have tried both %WorkflowFileName% and %Engine.WorkflowFileName%.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
**bleep**! It was a wild guess but I was hoping we'd get lucky!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 : )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Happy to help : ) @FilipR
Cheers and have a nice day!
