We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Limit / Restrict the option ( requester change )In Close Complete and Close Incomplete state

JVINAY
Tera Contributor

 

Hi all,

I have a requirement in Service Portal related to a custom application (Cloud Request).

On the record page of the table u_cloud_request, there is an “I want to…” side panel that displays several action links. One of these options is:

➡️“Request to Change CIR Requestor”

Requirement

I need to hide this specific option only when the CIR record is in the following states:

  • Close Complete → internal value = 3
  • Close Incomplete → internal value = 8

In all other states (Approval, Prod, Env Pro, Work Env), the option should remain visible.

 

2 REPLIES 2

brianlan25
Kilo Patron

Where do you have this code? I think this is a difficult one because record producers do no have states. They are just a type of catalog item that creates a record in a table once submitted. It is the records in the table that has the state not the record producer itself.

Santhana Rajhan
Mega Sage

Can you right click on the widget and show if its an OOB or a custom widget?

If its a custom widget can you paste the code here?