
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2022 10:19 AM
Hello! I have a survey that generates a survey instance to everyone listed in the Watch list of the Project when it is Closed (using the User Field in the Survey Trigger).
I have a new requirement to prevent survey instances from generating for users in the Watch list that have a specific email domain associated with their account.
Does anyone have any advice on how I can prevent the surveys from generating for the Watch list users that have an email address associated with their account that ends in the specified domain?
Here is an example:
1) Users are added to the watch list on a Project with their ServiceNow user account.
2) The Project is set to Closed.
3) A Survey instance is generated for each user listed in the Watch list, unless the email address associated with their ServiceNow account ends in @gmail.com (for example).
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2022 01:23 AM
Hi,
You could create a before insert business rule on the survey instance table to check the user email address and abort the action if it matches your conditions.
Thanks
Jake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 07:12 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 07:22 AM
Jake, thank you so much for your help!