I want to show the incident based on description to the particuller groups

Barathk
Tera Contributor
Hi Team,
I have requirement the incidents contains short description start with exit asset details to the two group.
for this I have tried with the query BR.
when to run to condition is task type is incident and the script is below.
please help someone for this.

if
((gs.getUser().isMemberOf('CrpA')) && (gs.getUser().isMemberOf('CrpPO'))) {
current.addEncodedQuery('short_descriptionSTARTSWITHExit Asset Details');
}
6 REPLIES 6

No worries, Could you please share me your script here ? Thank you!

Barathk
Tera Contributor


Hi @AbdulNow 

Barathk_1-1730901518913.png