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

Dnyaneshwaree
Mega Sage

Hello @raj99918 ,

Check 3 things:
1. Check the client script custom and also check OOB which contains logic for the same. Because, there is one OOB client script "Hide request item if request is not empt" for this fields. Check that one and other similar one affecting on the same.

Dnyaneshwaree_0-1718199257564.png
2. If you add any logic related to this then, Check the backend names are given are correct.
3. Check in form layout that other similar fields present in the available list that have another references(dot walk by diff table). If yes add that fields and check again by generating new request for testing and for your confirmations.

Dnyaneshwaree_1-1718199632405.png

 



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  Thanks alot for the reply yes I have the default client script but what i observed is RITM (Requested for, Item name and Request item) and SC table are different and will list this one below:

 

1) SC task table:

 

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

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

3) Request item --  sc_task.request_item.

 

2) RITM table :

 

1) sc_req_item.requested_for

2) sc_req_item.cat_item

 

RITM details are coming perfectly after submitting the request but not the SC task details (Requested for, Item name and Request item) Shall we get it popupated by using any business rule or direcltly on SC task workflow activity if yes could you please help me with the script

Hi @Ankur Bawiskar Can you please help me here

@raj99918 

how are you creating tasks? workflow or flow designer?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader