Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

State Field Read Only when state is closed complete, incomplete & Skipped in catalog task

Baker1
Tera Guru

State Field Read Only when state is closed complete, incomplete & Skipped in catalog task

7 REPLIES 7

Dileep Raju
Giga Guru

I have created write ACL on sc_task.state and added condition
State is not one of closed complete, closed incomplete and closed skipped
It is working as expected

Perfect buddy. @Dileep Raju 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

DpkSharma
Giga Expert

Hi @Baker1 

  1. Navigate to "Service Catalog" > "Catalog Policy" > "UI Policies" in the application navigator.

  2. Click on "New" to create a new Catalog UI Policy.

  3. Provide a name for the UI Policy (e.g., "Read Only on State Changes").

  4. Set the "Table" to the relevant catalog task table (usually "sc_task").

  5. In the "Conditions" section, add the following conditions:

    • Field: State 
    • Operator: is one of
    • Value: Closed Complete , Closed Incomplete, Skipped
    • Type: Read Only --> True/Active
    • Fields: "State"

      In the "UI Policy Actions" section, add a new action:
      Create New Action 

  6. Save the Catalog UI Policy.

    Please Mark it helpful and correct if this solves your problem.
    Regards,
    Deepak Sharma