Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to Get Catalog Item Variables on an Approval Notification for a Catalog Task

cnharris1
Kilo Sage

Good evening,

My organization wants to send out approval notifications on certain catalog tasks, which I have that part working. However, on the approval notification, the catalog item variables are missing and I'm not sure why. I'm using the OOB Email Script for notifications: 

find_real_file.png

Here's the Email Template I'm using:

find_real_file.png

And here's a copy of the approval notification, ensuring that I'm using the correct template:

find_real_file.png

 

I know I'm missing something because it works if I send out an approval notification on a RITM approval but not on the Catalog Task Approval.

 

Thanks in advance!

 

Best regards,

 

 

cnharris

1 ACCEPTED SOLUTION

Allen Andreas
Tera Patron

Hi,

This is because the variables are associated and linked from a core level at the RITM level.

When you're doing this from the sc_task level and trying to use those same scripts, it's still thinking it's the RITM level when it's not because that's how they're built.

You can try to adjust line 3 in your mail script to:

current.sysapproval.request_item

This is all assuming that this notification is on the approval table and the record being approved is a catalog task.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

2 REPLIES 2

Allen Andreas
Tera Patron

Hi,

This is because the variables are associated and linked from a core level at the RITM level.

When you're doing this from the sc_task level and trying to use those same scripts, it's still thinking it's the RITM level when it's not because that's how they're built.

You can try to adjust line 3 in your mail script to:

current.sysapproval.request_item

This is all assuming that this notification is on the approval table and the record being approved is a catalog task.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

cnharris1
Kilo Sage

Thanks for responding Allen!

That's exactly what I was missing! The approval notifications on catalog tasks are working as expected now, listing out all of the catalog variables.