- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2020 09:31 AM
We have a record producer in our Service Poral called "Report an Issue". When the record is submitted in the portal, it creates the incident record with all the data elements that are required to trigger the SLA record. However, the SLA record is not triggered unless an update or save is triggered.
How do I get the SLA record to be triggered when incident record is created?
Solved! Go to Solution.
- Labels:
-
Incident Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2020 03:56 AM
You were partially correct. The issue was with the Assignment Group Parent. This is a custom field that had to be added to the incident form because you can't trigger SLA's by dot walking to parent fields. The Assignment Group Parent field was not present on the portal form and thus not being populated when the record producer created the incident.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2020 11:32 AM
Can you check the record producer script, if it has script statement such as autoSysField(true) or setWorkflow(false), which may be causing this?
Also check the SLA definition for condition, which may be causing this.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2020 01:34 PM
Are you saying the issue will be caused when there is a script statement in the catalog item, "autoSysField(true)" or if there is a script statement saying "setWorkflow(false)"
Below, I have provided the following
- The catalog script. I don't see either of those statements in the script.
- The Variable Field Mapping from the Catalog Item
- The SLA Definition
- An incident created using the record producer where the SLA record was not triggered.
All the SLA start conditions are met. I don't understand why the SLA record is not triggered.
Catalog Item Script
current.description = producer.short_description;
current.category = producer.report_issue_category;
current.contact_type = 'self-service';
current.impact = 3;
current.urgency = 3;
if (producer.sap_affect_monthly_accounts_closing_activities == 'true' || producer.sap_diesel_fuel == 'true') {
current.impact = 1;
current.urgency = 1;
}
if (producer.assignment_group != '') {
var getAssignee = new GlideRecord('u_sap_team_leads');
getAssignee.addEncodedQuery('u_active=true^u_sap_group=' + producer.assignment_group);
getAssignee.query();
if (getAssignee.next()) {
current.assigned_to = getAssignee.u_team_lead;
}
}
Variable field mapping for the record producer
Question |
Map to Field |
Field |
true |
caller_id |
|
false |
||
false |
||
true |
business_service |
|
true |
u_sap_creation_time |
|
true |
assignment_group |
SLA Definition
Incident created from the portal record producer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2020 02:44 PM
It looks fine.
I hope you have Priority = 5-Planning selected in the SLA definition.
The only problem I could see is the Assignment Group Parent condition.
If you remove that condition, does it work?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2020 03:56 AM
You were partially correct. The issue was with the Assignment Group Parent. This is a custom field that had to be added to the incident form because you can't trigger SLA's by dot walking to parent fields. The Assignment Group Parent field was not present on the portal form and thus not being populated when the record producer created the incident.