The CreatorCon Call for Content is officially open! Get started here.

Getting the requested_for value

ceraulo
Mega Guru

Hello!

I have a catalog item workflow that needs to populate the short_description field. The script is:

task.short_description =  "This is a request for " + current.request.requested_for.toString();

However this is not working. The fields (ex. Requested_for) is populated from an integration with another application.
The requested_for field is populated correctly but I am unable to extract and use it in the task's short description.

Please help!

Thank you.

1 ACCEPTED SOLUTION

Also note that the workflow timings of the request/request item generation are kind of strange.  If you're doing this right at the very beginning of your workflow, try putting in a 5 second timer right before to allow enough wait time for the request and item to be created and linked fully before this step.

View solution in original post

5 REPLIES 5

VigneshMC
Mega Sage

Try 

task.short_description =  "This is a request for " + current.request.requested_for.getDisplayValue();