Autopopulate is clearing values when order guide form submitted from Service Portal

Rajini2
Mega Sage

We have a user info section in all our catalog forms. This section is a variable set and I was using the script include way to populate all the user info in these variables. Recently I switched this to use the autopopulate. It works fine in native ui. But, when a order guide form is submitted, the user info section in RITM and SCTASK is wiped off except the Request on behalf of. Issue is only with order guide submitted through service portal. Native UI is good. 
Does anyone know how to fix this?

 

Rajini2_0-1710372692411.png

 

1 ACCEPTED SOLUTION

Rajini2
Mega Sage

So, I had to create a new variable set for the describe needs page, and some scripts/business rules adjusted. This eliminated the clearing of requester data on the choose options page (order guide used in service portal).  All working as I expected it to work. 

 

Thanks for all your help.

View solution in original post

7 REPLIES 7

AshishKM
Kilo Patron
Kilo Patron

Hi @Rajini2 , 

Check the catalog item , there must be some catalog client script which is filling the user information in other fields.

The same script should be applied to order guide with UI Type = All

AshishKMishra_0-1710373939852.png

 

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Harish KM
Kilo Patron
Kilo Patron

Hi @Rajini2 did you input variables during the choose options and did you validate the variables populated? If yes then debug onload client scripts on req item and task table also on catalog client scripts if your clearing any values. I would say deactivate all the scripts and then do a test run

Regards
Harish

Yes I do have a clearvalue. Because we want the end user to type the request of behalf of (order guide).

 

When the form moves to choose options, it loads and is clearing value. How to I stop clearing when it goes to choose options? what is the best way to do this?

Rajini2_0-1710447779695.png

 

the page "Described Needs" and catalog item "Lenovo Laptop bundle" both has same variable name for user and cascade checkbox checked on record producer page.


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution