I want to display the variable in notification which is available on the catalog form

Naga13
Tera Contributor

Hi Team,

I want to display the variable in notification which is available on the catalog form, i will create the notification on sc_task table, before that

Can anyone suggest the sample  email script here.

Assume variable name is "end_date_time".

Thanks in advance

 

1 ACCEPTED SOLUTION

Hello Naga,

Please follow the above method mentioned by me

Thanks.

View solution in original post

23 REPLIES 23

Saurav11
Kilo Patron

Hello

Use below:-

template.print(current.variables.end_date_time);

Please mark answer correct/helpful based on impact

Naga13
Tera Contributor

Hi Saurav,

Getting below error.

find_real_file.png

 

find_real_file.pngfind_real_file.png

Hi,

You have mentioned that your variable is on catalog form and you created notification on sc_task.

 

But the configuration in above screenshot is on Incident table.

 

Please change the table in your notification record

find_real_file.png

 

Thanks,
Anil Lande

Sorry Anil,

For testing purpose i have created end_date on incident form and trying to send notifications.

Please help where is the error

find_real_file.png