Email Notification not trigger second time.

ajay shrivas
Tera Contributor

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 ?

ajayshrivas_0-1692339038630.png

ajayshrivas_1-1692339180117.pngajayshrivas_2-1692339215074.png

 

 

8 REPLIES 8

ajay shrivas
Tera Contributor

ajayshrivas_0-1692342686044.png

ajayshrivas_1-1692342739246.png

Actually I created two BR, One for state is requested and another for state is approved. In both situation notification should sent .

 

@ajay shrivas 

 

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

@ajay shrivas 

 

Mark my answer as correct and helpful if it helped

 

Thanks,

Manjusha Bangale

hardik341
Tera Contributor

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