Populate the task description field

mallikabhupathi
Tera Expert

Hi all,

I need to populate the task description field for a particular catalog item. The text is like this:

  1. Review Request - Contact user if more information is required. ABC can be found in the attachment located in the header of this form.
  2. Activate XXX.
  3. Update task with XXX details.
  4. Close this task.

This needs to be populated when the task is generated for the catalog item. How can this be achieved?

Thanks,

Mallika

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

If this is in workflow, then you can populate it via the catalog task activity, advanced/script section by using something like:

var desc = "1. Review Request - Contact user if more information is required. ABC can be found in the attachment located in the header of this form. \n 2. Activate XXX. \n 3. Update task with XXX details. \n 4. Close this task.";
task.description = desc;

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

1 REPLY 1

Allen Andreas
Administrator
Administrator

Hi,

If this is in workflow, then you can populate it via the catalog task activity, advanced/script section by using something like:

var desc = "1. Review Request - Contact user if more information is required. ABC can be found in the attachment located in the header of this form. \n 2. Activate XXX. \n 3. Update task with XXX details. \n 4. Close this task.";
task.description = desc;

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


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