Event based notification no passing comment

Vijay Baokar
Kilo Sage

Hello Everyone,

 

I am trying to trigger notification based on event. My use case is whenever i give multiple comments back to back in HR case all those comments should trigger notification.

 

Steps taken.

1. Created event.

2. Calling through BR

3. Updated event in Notification.

 

I can see that notification is being triggered but comment value is null.

 

Event:

VijayBaokar_0-1698042444792.png

 BR:

VijayBaokar_1-1698042518663.png

 

Notification:

VijayBaokar_2-1698042584113.pngVijayBaokar_3-1698042632302.png

 

Emails activity

VijayBaokar_4-1698042687929.png

 

 

1 ACCEPTED SOLUTION

Hello @Vijay Baokar ,

 

In your business rule use this in -

gs.eventQueue('event_name',current,current.comments.getJournalEntry(1));

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

 

View solution in original post

8 REPLIES 8

Harsh_Deep
Giga Sage
Giga Sage

Hello @Vijay Baokar 

 

Please open Event log

Harsh_Deep_0-1698045277106.png

Now in Name search for your event name and Sort by Created and check the value in Parm1 if there is the value then only you can access that value in email script.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Hi @Harsh_Deep In event logs i can't see the parm1 value, any reason ?

Hello @Vijay Baokar ,

 

In your business rule use this in -

gs.eventQueue('event_name',current,current.comments.getJournalEntry(1));

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

 

Hello @Vijay Baokar ,

 

Have you tried my solution.

 

Mark Correct if this solves your issue and also mark 👍Helpful if you find my response worthy based on the impact.