Can you call a Mail Script out of another Mail Script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2019 01:59 AM
Hello,
Is it possible to call a Mail Script out of another Mail Script?
Let's say I want to execute a Mail Script based on the calculation of another Mail script and I want it to be executed only at specific conditions. I am not able to do this decision in the Message HTML field of the notification and I want to reuse a given mail script so that I don't have to copy/ write the code again.
Hope you have an idea.
Cheers
Ron
- Labels:
-
Service Desk

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2019 12:27 PM
Hi Ron,
Instead of try to do that, I would put your code in a script include and then call that from 1 or more mail scripts. That way you get the reusability and can call the functionality from any mail script.