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

Hello

If you have created the field on incident uou can change the code to below.

Now because uou wnat to do it via mail script so the below is fine

template.print(current.end_date_time)

Please mark answer correct/helpful based on impact

Hi,

As you have column on incident form then you can access it directly in email body same as incident state: ${incident_state}

 

If you want to print value through email script then use current.u_end_date_time

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

Thanks for reply.

Still no luck

Refind_real_file.png

Hello

Remove that varibales from the script line Use

template.print(current.u_end_date_time);

Naga13
Tera Contributor

Thanks Anil,

Now its working as expected.

find_real_file.png