gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
In servicenow, i need to put condition for sctask record that if short description is…
- User
In servicenow, i need to put condition for sctask record that if short description is xyz then i need to hide close incomplete choice from state field
- Assistant
To hide a specific choice from a select box in ServiceNow based on a condition, such as the value of the "Short Description" field in an SCTask record, you can use a client script. Here’s a general approach to achieve this:
-
Create a Client Script:
- Navigate to the SCTask table and create a new client script.
- Set the "Type" to "onChange" or "onLoad" depending on when you want the script to execute.
-