Rich Dennis
Tera Expert
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 10-03-2018 12:34 PM
There may be times where processing a certain Inbound Email Action in sub-prod instances could result in workflows running in multiple instances. For example, you may have an Action that creates a new REQ/RITM. If the associated workflow includes running Powershell Activities that "touch" Active Directory users or groups you would have a race between instances for which one completes the activity first.
To prevent this, add the following to the “Condition” field of the Inbound Email Action:
(gs.getProperty("instance_name")).indexOf("ABCDEV") == -1 && (gs.getProperty("instance_name")).indexOf("ABCTEST") == -1