Can we add or remove group based on condition in mail script sevicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 02:26 AM
there is a requirement where i need to send if a condition returns true otherwise not, i had used gliderecord method and added email.addAddress , but is it is not working, is there any other way??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 02:32 AM
Hi @mishra007 ,
I think you have to share the mail based on a condition and include a specific group if the condition return true am I right @mishra007.
My suggestion is that you can use gs.eventQueue method for this you have to create a event and based on the event the notification mail will be share. This is the right approach, you can trigger the event via Business rules, Scheduled jobs, Flow designer or Workflows as well.
If my answer serves the purpose do hit the helpful button.
Thanks,
Saurabh Dubey.