Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Custom RITM approval notification dependent on specific variable on catalog item

Chase Stevenson
Mega Guru

Hello, we use a single approval notification for all Requested Item approvals in our instance.

What I want to do is have a second approval notification that ONLY gets used when 1 of our 40+ catalog items gets submitted and a specific variable on that catalog item has a specific value.

When looking at the notification "When to send" section, I can't think of a way to identify a condition where catalog item has to = "xyz" and variable x has to = "123":

find_real_file.png

Is there a way to add an "AND" condition under the "Approval for.Task type is Requested Item" for the other conditions I need?

16 REPLIES 16

Mukesh Sharma
Giga Expert

Hi, 

 

never Tried but I guess in advance condition,  you can use current.sysapproval.variables.variable_name and current.sysapproval.cat_item to check the specific catalog item .  let me try and I will get back to you .

Mukesh Sharma
Giga Expert

I tried this and worked for me . 

 

write something like this .