Email Notification not trigger second time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 11:24 PM
Ques- Create a email notification for approval and email sent to requested for and requested by when state is in requested or approved .
Here requested for and requested by is not coming in "who will receive" because requested for and by is not present in the approval table so we create a event and business rule to sent notification for both requested for and requested by. when we request something in the service portal then first time notification sent for both but for the second time it is not sent mail, parm's are showing empty .
business rule and event trigger successfully as we check in log but parm 1 and parm 2 are empty.
so what i need to do for get notification second time ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 12:13 AM
Actually I created two BR, One for state is requested and another for state is approved. In both situation notification should sent .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 12:33 AM
1.You can combine both Br in single one business rule only
2.Just change BR type from after to async as user does not need to wait for its execution
3.Just change condition of your business as -state changes to requested or state changes to approved
if you add condition as state is requested - your br will trigger notification every time ,when a approver record is updated
4.To trigger notification just two times use condition mentioned in step 3
Let me know if you need more help
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 09:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 12:36 AM
Yes create only one BR with conditions
state is requested or state is approved
run that br on insert and update and in async
Try this i think this will work for you .
If my answer solved your issue, please mark my answer as
Correct &
Helpful based on the Impact
Thanks ,
Hardik Khanna