Create a non-executable process model
POST {{baseUrl}}/designtime/models
Save the contents of BPMN based process model, which can be used for application development. No process instances can be triggered on the saved process models. The process model can be defined using the workflow modeler. The content of the process model (required for modelContent) can be exported and copied as a BPMN 2.0 encoded xml or BPMN 2.0 json directly from the workflow modeler.
Sample request body :
{
name
: SampleModel
,
key
: SampleKey
,
category
: SampleCategory
,
modelType
: xml/json
,
modelContent
: encoded BPMN xml content for xml type / plain BPMN json for json type
}
Request Body
{"category"=>"SampleCategory", "key"=>"SampleKey", "modelContent"=>"encoded BPMN xml content for xml type / plain BPMN json for json type", "modelType"=>"xml/json", "name"=>"SampleModel"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"modelId":"dc8b5fd8-3390-11ea-b509-eeee0affefe7"}