Change Target Field in Email from an Email Script

Diorella Angulo
Tera Expert

Is there a way to change the Target table field in Emails from a run mail script?

 

When the system receives the response from an email it sets the Target table as Request: REQ#. I need this to be Catalog Task so I can make changes on that table when the response is received it by the system.

find_real_file.png

I have this run mail script which basically works like a link for approval in a notification, it also auto populates the email reply with a subject and text in the body, so is there something I can add there so the target can be sc task table and not the sc_request? I don't have any code for that, it just adds the Request table.

find_real_file.png

 

1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

The target tables for a reply is based on two things, watemark on the original mail if not present then the number on the subject

The reason why it takes the request as the target table is because the subject contains the request number instead try to send the task number.

Also on what table is the notification created?

Please mark annswer correct/helpful based on reply.

Thanks.

View solution in original post

6 REPLIES 6

Saurav11
Kilo Patron
Kilo Patron

Hello,

The target tables for a reply is based on two things, watemark on the original mail if not present then the number on the subject

The reason why it takes the request as the target table is because the subject contains the request number instead try to send the task number.

Also on what table is the notification created?

Please mark annswer correct/helpful based on reply.

Thanks.

Hello,

Thanks! I changed the number on the subject to the SCTASK number and now it is showing Catalog Task in the Target column in Emails. 

What is the watermark, is that something I can set up from the run script email?

 The notification is created on the Catalog Task table, but that is working fine.

Watermark is also one of thw reason a syatem looks to indetify things but if it is working fine

I don't think you need to worry about it.

 

Can you also mark the answer as correct.

 

Thanks.

I did it. I marked it as a correct answer. Thanks!