SiteDefinitionsLocalizationServicesSaveWorkflowDefinition Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<LocalizationSaveResult> SaveWorkflowDefinition( WorkflowDefinitionLocalizationSaveInput data )
The localization of Workflow Definition's name, description and all the transitions
{
"data": {
"id": "WorkflowDefinitions/3",
"name": "Single Step",
"description": "",
"Members": [{
"ID": "WorkflowTransition_WorkflowDefinitions/3_1",
"Name": "Start up",
"Description": "Executed after push page into workflow"
}, {
"ID": "WorkflowTransition_WorkflowDefinitions/3_2",
"Name": "Publish",
"Description": "Publish the page"
}]
}
}Object containing the localized name for the Workflow Definition
{
"code": 0,
"error": null,
"message": {
"newName": "Single Step",
"save": true
}
}English or English translation is allowed. This allows to change descriptive text only without touching original Workflow Definition