Notification qyery

Anusha Medharam
Tera Contributor

My target is to send out notification when additional comments change but not from customer reply . Whenever customer reply additional comments update . I need to restrict that update. I gave

hasRole(sn_customerservice_agent);

but not working as expected.

 

2 REPLIES 2

Sohail Khilji
Kilo Patron
Kilo Patron

 

@Anusha Medharam ,

 

Can you brief the requirement a little bit more ?

you must pass them in quotes or also try has role exactly > hasRoleExactly('sn_customerservice_agent');


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Sid_Takali
Kilo Patron
Kilo Patron

Hi @Anusha Medharam Try the below code in your Notification Advanced Condition

if (gs.hasRole('sn_customerservice_agent') && current.comments.changes()) {
    answer = true;
} else {
    answer = false;
}

 

Please mark my answer Correct/Helpful,

Regards

Sid