Add property eventNames in the state with each language translations of the event. this will be shown on the officer as the label for the event
"eventNames": {
"en-US": "Escalate",
"fr-FR": "Pousser vers le dexieume level"
}
Full transition example:
{
"startState": "PENDING_OFFICER_PROCESSING_LEVEL_2",
"event": "TRANSITION",
"endStateOne": {
"stateName": "De-escalate",
"stateCode": "PENDING_OFFICER_PROCESSING_LEVEL_1",
"breakingAction": null,
"breakingActions": null,
"nonBreakingActions": null,
"nextEvent": null,
"position": null
},
"endStateTwo": null,
"endStateCondition": null,
"authorisation": null,
"position": null,
"eventNames": {
"en-US": "De-Escalate",
"fr-FR": "Passer au niveau précédent"
}
},