Applying information RITM short description to SCTASK short description.

Shamir Mawji
Kilo Expert

Hi all,

I have put together an inbound email action which creates a Request using the Cart API / createRequest() function.

So far I have got the request to create the RITM via a glide record with the relevant fields populated however I am struggling to get this information replicated onto the sctask which is part of a workflow for the catalog item.

For example, the RITM Short Description is set to the email subject. This is applied in the script for the inbound action. 

Do I need to create and alter the task on the inbound action via another glide record or should I be able to this via the workflow?

Or possibly could I do this using a scratchpad variable? 

Thanks.

S

1 ACCEPTED SOLUTION

Thanks for your help all.

I have fixed this by adding a 10 second wait timer, I think it was trying to populate the task at the same time the RITM was being created. With the timer added it not works fine. 

View solution in original post

7 REPLIES 7

Hi Harsh, I have done this 

The Log is returning the RITM Description as the short description of the catalog item. 

The workflow (after checking workflow properties) is running on the sc_req_item table.

then it should set the value in task short description also.. strange !!

would you mind to set the RITM short description value on any other task filed ( example any other string type field which exist on  task form ). just to validate, if any other functionality contradicting with task short description field.

Thanks for your help all.

I have fixed this by adding a 10 second wait timer, I think it was trying to populate the task at the same time the RITM was being created. With the timer added it not works fine.