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

Ankur Sharma
Tera Guru

Hi Chase,

You can easily dot walk to the item in filter condition like below.

find_real_file.png

 

Let me know if it helps.

Ankur, thank you for the suggestion - I had tried to dot walk to the requested item, but I have no option for doing so:

find_real_file.png

Ankur Sharma
Tera Guru

Hi Chase,

You need to click on the following entries in the filter:

1. Approval for =>Task fields

2. Requested Item (+)

3. Item => Catalog Item fields

4. Name

 

Let me know if it helps.

Ankur,

I don't seem to have the "Requested Item (+)" option when I expand "Approval for => Task Fields" like you suggest:

find_real_file.png

 

Also, on the RITM form, the only field I can find that shows what catalog item it is for, is called "item", but I do not see "item" in the condition list either:

find_real_file.png

find_real_file.png