I am trying to start a process instance using REST API.
It can start the process and pass the variable but I also want to retrieve the data from the database.
According to the variable I pass into the body.
(POST) http://localhost:8080/activiti-app/api/runtime/process-instances?tenantId=tenant_1
{
"processDefinitionId":"vacationRequest",
"businessKey":"vacationRequest",
"variables": [
{
"name":"userId",
"value":"user123"
}
]
}
When I open the activiti app Task I can see the process is running and the userId is passed in, but I cannot get the userdata from Mysql database.
If I start the process in the Task App it will work, but not uring REST call.
Thanks,
Brian
I'm not sure if you want to get the user involved by this process. if you want to get this ,you can call
```
```
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.