How to Hide Empty variable

ND7
Kilo Sage

Dear Experts, 

How to hide the "Empty" variable from stack display.

Thanks 

find_real_file.png

 

Thank you

 

1 ACCEPTED SOLUTION

Hi,

I understand what you're saying. No need to repeat it over and over, haha. The problem is, there must be something else you have set, that is causing this field to show.

Please check ALL of your UI Policies for this catalog item to see if this field is being made visible in another UI Policy.

We don't know what all you have set, but per your screenshot, if that was the ONLY UI Policy...then it should be working perfectly fine.

The only other issue I see is that the "employee_type" type field in the UI Policy is showing as the back-end value name instead of the display name.

Please double-check that you didn't rename this employee_type field to something else and broke the UI Policy.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

9 REPLIES 9

Allen Andreas
Administrator
Administrator

Hi,

Not sure what you mean by "stack display", but you can use a UI Policy to set the condition that if the employee number is empty, then in the UI Policy actions related list, set the field to visible = false.

Keep in mind, doing this, the user wouldn't be able to fill it in anymore because it's empty, thus it won't show.

So you may want to ensure on the UI Policy that you only have this effective on "request item" and "catalog task" records. There's checkboxes for this on the UI Policy settings page.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Sorry about that I mean to say in SCTASK.  

 

Hi,

Ok, so you'd still create a UI Policy on the catalog item, choose for it to be effective on the catalog task, then set the condition as I mentioned above...then create a UI Policy Action to set the field to visible = false.

Same thing as I said above, basically.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

As you see if the requester choice is fed then the employee number is filled. 

 

find_real_file.png

 

If any other choice the filed is not shown on the Requested Item form.

find_real_file.png

 

but in the SCTASK variable, it shows 

find_real_file.png