Can I hide a variable on a catalogue item but show it in the sc_task?

Steven Watts2
Tera Guru

Hi,

 

I'm trying to hide a variable on the catalogue item but have it displayed in the sc_task record. I assumed that this would be possible via a UI policy which would only be applied to the catalogue item but this isn't working.

 

Has anyone done something similar?

 

Steven

10 REPLIES 10

okay so just see whether anything applied for same which is responsible for hiding that variable from sc_task, so make that variable mandatory and read only false on sc_task with UI policy and see how it works for you.


Aniket Chavan
Tera Sage
Tera Sage

Hello @Steven Watts2 ,

So currently what is the exact issue?  like you are not able to hide it on portal or its not getting visible on catalog item?
you can do this by using these check boxes:

 

AniketChavan_0-1710868632797.png



please specify so that we can move ahead accordingly

Robbie
Kilo Patron
Kilo Patron

Hi @Steven Watts2,

 

This is absolutely possible.

Can I just clarify a few terms you've referenced?

When you say it should be hidden on the 'catalogue item', but visible on the sc_task... so you mean the 'Request Item' record (Table: sc_req_item) or do you actually mean the 'Catalog Task' - a child of the Request Item?

 

I've tried and tested this on my PDI and have simply ensured a checkbox on the UI Policy 'Applies on Catalog Task' is not checked. I can confirm the field is hidden on the Item and is visible on the Request Item.

See screenshot below:

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.

 

Thanks, Robbie

 

Screenshot 2024-03-19 at 17.16.52.png

 

 

swathisarang98
Giga Sage
Giga Sage

Hi @Steven Watts2 ,

 

what is the requirement exactly ? you want to pre populate something in that variable and hide it in form and only visible in ritm or sc task 

 

or 

you want to fill that variable in the sc task 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

Hi @swathisarang98 

 

you want to fill that variable in the sc task - this is the requirement.

I think the variable isn't being passed into the task even though it's being told to. 

 

Steven