Method
POST
Parameters
A JSON object with the following properties:
Name | Value | Description |
---|---|---|
sourceActivityIds | Array | The activity ids from the source process definition being mapped. |
targetActivityIds | Array | The activity ids from the target process definition being mapped. |
updateEventTrigger | Boolean | Configuration flag whether event triggers defined are going to be updated during migration. |
|sourceActivityIds|Array|The activity ids from the source process definition being mapped.|targetActivityIds|Array|The activity ids from the target process definition being mapped.|updateEventTrigger|Boolean| Configuration flag whether event triggers defined are going to be updated during migration.
|Name|Value|Description
|——-
|sourceActivityIds|Array|The activity ids from the source process definition being mapped.
|targetActivityIds|Array|The activity ids from the target process definition being mapped.
|updateEventTrigger|Boolean| Configuration flag whether event triggers defined are going to be updated during migration.
Result
A JSON object which contains a list of instruction reportsif any errors are detected, other wise it is empty.
The properties of a instruction report are as follows:
Name | Value | Description |
---|---|---|
Name | Value | Description |
——- | ||
instruction | Object | A migration instruction JSON object with the following properties: |
|sourceActivityIds|Array|The activity ids from the source process definition being mapped.|targetActivityIds|Array|The activity ids from the target process definition being mapped.|updateEventTrigger|Boolean| Configuration flag whether event triggers defined are going to be updated during migration.
|Name|Value|Description
|——-
|sourceActivityIds|Array|The activity ids from the source process definition being mapped.
|targetActivityIds|Array|The activity ids from the target process definition being mapped.
|updateEventTrigger|Boolean| Configuration flag whether event triggers defined are going to be updated during migration.
|failures|Array|A list of instruction validation report messages.
Response codes
Code | Media type | Description |
---|---|---|
200 | Request successful. The validation report was returned. | |
400 | application/json | In case additional parameters of the request are unexpected, an exception of type InvalidRequestException is returned. See the Introduction for the error response format. |
Example
POST /migration/generate
Request Body:
Status 200.
{
"instructionReports": [
{
"instruction": {
"sourceActivityIds": [
"aUserTask"
"targetActivityIds": [
"aUserTask"
"updateEventTrigger": false
},
"failures": [
"failure1",
"failure2"
]
},
{
"instruction": {
"sourceActivityIds": [
"targetActivityIds": [
"anotherEvent"
],
"updateEventTrigger": true
},
"failures": [
"failure1",
"failure2"
]
}
]