Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 09:59 PM
Hi @Anantha27 ,
You can create After Insert BR with below Condition & Script to create a Problem Task if the Problem is created with Urgency & Impact is high:
Script:
(function executeRule(current, previous /*null when async*/ ) {
// Add your code here
var pTask = new GlideRecord('problem_task');
pTask.initialize();
pTask.short_description = current.short_description;
pTask.insert();
gs.addInfoMessage('Problem Task created for Incident with high impact and urgency');
})(current, previous);
If it's helpful, kindly mark it has helpful and accept the solution. So, that it will helpful for others