How to create a notification in a worklfow with the variables from the catalog item?

velvet
Mega Guru

I have created a workflow that has a notification being sent.  But it seems to not be in the right format because it is not copying the variables over.  Here are some of the variables.  Can someone help with the script part?

find_real_file.png

Here some of the variables, if someone help me get started i can finish it.

find_real_file.png

1 ACCEPTED SOLUTION

This is a preview of a notification in the notifications section of ServiceNow.  Also it looks like it is pointing to the sc_task table when it need to be on the sc_req_item table.  In the email logs did you try clicking Preview HTML Body related link.

View solution in original post

39 REPLIES 39

Nothiing but the script you gave me but before then I had what the first responder told me.. But how is everything blue if the tasks has not been completed or the email

Open the show workflow and hover over the the notification.  It should pop up more details.  Is if it shows something like skipped.

It says finished on each one

So for the variables in the email I need to send the first, middle, last name, the Provider ID, the SER #, etc 

Ok so I just put tried and if My code is just in the notification it sends out my code.  I created a mail script and then sent called requested_item_summary and then in the notification I just put ${mail_script:request_item_summary} and the notification went to the user I had listed in the to.