Add catalog task description through workflow advanced script

Joshuu
Kilo Sage

Hi All,

 

I want to add below lines in the catalog task description by using advanced script in catalog task activity.

 

1. Validate approval.
2. If a spot buy, create and distribute PO to Vendor.
3. Add items ordered to Inventory tracking spreadsheet.
4. If spot buy, update inventory tracking spreadsheet..
5. If spot buy, Mark PO as received.

 

Please assist.

 

Thank you.

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Joshuu I am assuming you would like to set description on the catalog task via the work flow SC Task activity.

 

Here is how you can do it.

Screenshot 2023-04-28 at 5.07.14 PM.png

 

Here is the script.

task.description = ' 1. Validate approval.\n 2. If a spot buy, create and distribute PO to Vendor.\n 3. Add items ordered to Inventory tracking spreadsheet.\n 4. If spot buy, update inventory tracking spreadsheet..\n 5. If spot buy, Mark PO as received.';

Hope this helps. 

View solution in original post

6 REPLIES 6

Sandeep Rajput
Tera Patron
Tera Patron

@Joshuu I am assuming you would like to set description on the catalog task via the work flow SC Task activity.

 

Here is how you can do it.

Screenshot 2023-04-28 at 5.07.14 PM.png

 

Here is the script.

task.description = ' 1. Validate approval.\n 2. If a spot buy, create and distribute PO to Vendor.\n 3. Add items ordered to Inventory tracking spreadsheet.\n 4. If spot buy, update inventory tracking spreadsheet..\n 5. If spot buy, Mark PO as received.';

Hope this helps. 

Hi @Sandeep Rajput ,

 

Thank you.