Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2024 04:37 AM
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 04:31 AM
Hi @Kishore47
try using business rule for creating problem record when incident is promoted to major incident.
Table: Incident
When to Run: After Insert/update
Conditon : Major incident state is Accepted
Script:
if (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.insert(); // Create problem record
}
try with this code.
Note: Please Mark this as Helpful and Accepted also if this solves your query.
Thanks & Regards
Deepak Sharma
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2024 02:58 AM
@Kishore47 Thankyou for marking as helpful.