Hi,
Do you have an example code of how process modification works in git? I tried to access through apis and always getting: InvalidRequestException in response.
Url: https://127.0.0.1:8080/process-instance/5b31f389-c1df-11eb-8a21-b2881a78c6f1/modification
Request body:
{
“instructions”: {
“type”: “startBeforeActivity”,
“activityId”: “serviceRequestActivityId”
}
}
Response
{
“type”: “InvalidRequestException”,
“message”: “”
}
I also tried to start the process from a specific activity like below. And it didn’t work either
Request
http://localhost:8080/engine-rest/process-definition/key/BPMNId/start
{
“businessKey”: “MI21052904761111”,
“startInstructions”: {
“type”: “startBeforeActivity”,
“activityId”: “feeWaiverActivityId”,
“variables”: {}
},
“variables”: {}
}
Response:
{
“type”: “InvalidRequestException”,
“message”: “”
}