kamleshraj0
Tera Contributor

Hi
Answer to your question yes we have 2 option as far as discover
Option 1: - Create 2 Display BR to run on every loading.

 

  • Script runs in a Business Rule on sc_req_item / sysapproval_approver (RITM/ Approval).

  • Inside BRs fetch the Catalog Item and the action type (for ex Join,  Retire) from the RITM variables.

  • It queries all variables (item_option_new) of that catalog item -- In your case specific variable set).

  • You can copy the encodedQuery from the Variables table.
  • Based on the actionType: loop

    • Join → hides some variables (Variable 11, Variable 1,…) and shows others.

    • Retire → hides a different set (Var1, Var4, Var7…) and shows others.

  • For each variable, it updates the field visible_summary = true/false to control visibility in the summary.

  • visible on summary Field is available in Variable > Availablity Section


Option 2: - Use OnSubmit client script on Catalog Item and Clear the values.
- If you really wanted to Hide >> this solution will not work rather it will clear the Default values if you have any on your Variable Set>Variables. To avoid any confusion to the approver. 

kamleshraj0_0-1755695182656.png

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.


Regards
Kamlesh.