Hi,
I want to create an Incident in Service Management Automation(Microfocus - SMAX) using API.
I use activity HTTP Request. My properties are as follow:
Accepted Format: JSON
Request Method : POST
Request URL: "https://smax.mycompany.com/rest/9966332211/ems/bulk"
Cookies = LWSSO_COOKIE_KEY=Token
Body:
{
'entities': [
{
'entity_type': 'Incident',
'properties': {
'ContactPerson': '',
'ImpactScope': 'Enterprise',
'IncidentToCompany': '14728',
'Urgency': 'TotalLossOfService',
'DisplayLabel': 'Non reception du mail de volumetrie d'appel',
'CurrentAssignment': 'ServiceDesk',
'ServiceDeskGroup': '14546',
'ExpertGroup': '14533',
'RegisteredForActualService': '15393',
'Description': 'This is a test Incident. Please ignore it.'
}
}
],
'operation': 'CREATE'
}
I Get the following error as response:
"errorDetails": {
"httpStatus": 500,
"message": "Failed to evaluate DSL expression ${current_update.RegisteredForActualService.IsChanged && entity.RegisteredForActualService.SupportLevel1Group != null && entity.ServiceDeskGroup == null}",
"developer_message": "",
"message_key": "failed_to_evaluate_dsl_expression",
"message_rb": "locale/workflow_errors",
"message_arguments": [
"${current_update.RegisteredForActualService.IsChanged && entity.RegisteredForActualService.SupportLevel1Group != null && entity.ServiceDeskGroup == null}"
],
"exceptionType": "WorkflowException"
}
Do you know what might cause the error?
Kind regards