Have to attach the parent SLA's to child tasks created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022 11:09 PM
we have a requirement to have insert and stay UI action button on child table. once click on this button the start date and parent data has to copy from parent start date and end date fields. and has to carry the attached SLA's of parent to newly created child task. Any help here would be appriciated
This is the simple UI Action we have created has to add some more
doInsertAndStay();
function doInsertAndStay() {
var saveMe = current;
if (typeof current.number != 'undefined' && current.number)
current.number = ""; // generate a new number
else if (typeof current.u_number != 'undefined' && current.u_number)
current.u_number = ""; // generate a new number
current.insert();
action.setRedirectURL(saveMe);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022 11:15 PM
Hi
Here is a great approach shared by
Same SLA record cant be mapped to two incident. We can configure SLA so that two SLA records created with same breach time
Now you create Identical SLA for Child ticket. So, in your main SLA add additional Start condition as parent is null and Reset condition as parent is not null
For Child ticket SLA use the same condition as parent, except the new condition I'm suggestion should be opposite. In Start condition it should be parent is not null and Reset condition as parent is null
Now we need a start time should be same. So, in incident table create new date time field or use existing field like Expected Start which was never used for storing the SLA start time. You have to create a on before business rule and update this field with the create time or the field used in retroactive start for parent SLA.
In child ticket SLA this field mentioned above should be in Retroactive Start.
This way you can have similar SLA in both parent and child
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep