Relations between steps that belong to the same workflow - bug
A workflow's version is upgraded when a step is modified. When creating a step with relation to a different step that belong to the same workflow, the workflow gets upgraded twice, which eventually causes a situation where the step is not created.
On local dev instance (with local dev/test data):
POST /api/worklows/vHQEhe/steps
{
"label": "Lorem ipsum",
"description": "Lorem ipsum dolor...",
"relatedItems": [
{
"objectId": "gQu2wl",
"relation": {
"code": "relates-to"
}
}
]
}