I have a custom table which contains four columns: Application Department Approver AD…
- User
I have a custom table which contains four columns:
Application
Department
Approver
AD Group
On the catalog item, the user selects the desired application and department. I then have an approval that uses these two variables to look up and set the the approver from the table. This works great. I now want to add a hidden or read-only field that will take these same two variables from the item and look and and set this value.
So if user picks Application A and Department 1, the new variable should be set to something. If they pick Application B and Department 2, then the new variable would be set to whatever the AD value is in the lookup table.
- Assistant
- User
When Incident is promoted to be Major Incident create Problem Automatically with parent is incident record and priorty is high in servicenow
- Assistant
- User
table for business rule and best when to run condition
- Assistant
- User
if (current.major_incident == 'true' && previous.major_incident != 'true') { var problem = new GlideRecord('problem'); problem.initialize(); problem.short_description = current.short_description; problem.description = current.description; problem.parent_incident = current.sys_id; // Relation to the parent incident problem.priority = '2'; // Assuming ‘2’ corresponds to High priority in your instance problem.insert(); // Create problem record } fix this code to create a problem record with respect to incident record when major incident state of the incident is accepted
- Assistant
- User
f (current.major_incident_state == 'accepted' && previous.major_incident_state !=='accepted') { var problem = new GlideRecord('problem'); problem.initialize(); problem.short_description = current.short_description; problem.description = current.description; problem.parent_incident = current.sys_id; // Relation to the parent incident problem.insert(); // Create problem record } i got this error while using this business rule code please fix this Unique Key violation detected by database ((conn=91865) Duplicate entry '5aa475bb47f40210d14d82b4116d433b' for key 'PRIMARY')
- Assistant
- User
I have requirement if incident assignment group is "Application Development" . then the incident is only visible to the members of assignment group only . in servicenow
- Assistant
- User
Write a Client script to validate user input on a custom form?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.