Requested for, Item name and Request item fields are empty after submitting the form.

raj99918
Tera Contributor

Hi 

 

I have one catalog form for which workflow is running on SC_REQUEST(just it has 2 catalog tasks) table but after the submitting this form When I open the SC task under the Request record then Requested for, Item name and Request item fields are empty on SC task record May I know whats the reson and How can i overcome this one

 

Below are the SC task table backend values:

 

1) Requested For -- sc_task.request_item.requested_for.

2) Item --- sc_task.request_item.cat_item.

3) Request item --  sc_task.request_item.

 

 

9 REPLIES 9

@Ankur Bawiskar  From workflow by using the create catalog task activity

Hi @Ankur Bawiskar , Can you please guide me here what I need to do ?

Hi @Ankur Bawiskar  Please guide me here to get the solution for this one..

 

Thanks

Dnyaneshwaree
Mega Sage

Hello @raj99918 ,

In your catalog task activity of the workflow please trying to add below script in advanced script. You can edit it as per your requirement:

task.request_item.requested_for = current.requested_for;

task.request_item.cat_item = current.cat_item;

task.request_item  = current.number;

Please accept my solution if it works for you and thumps up to mark it as helpful.

Thank you!!

 



Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!

Dnyaneshwaree Satpute
Tera Guru

Hi @Dnyaneshwaree ,

 

I used your above script but still these fields are coming as blank

 

raj99918_0-1718282669342.png