Is there a way to start a process by a delegated user using API in Community Edition?
I'm trying to use the Rest API to manage our process. I'm stuck in the process instantiation, since I couldn't find a way to inform the user who actually created the case...
As I'm using the Rest API, I'm logging in with an admin user, and I'd like to indicate he is acting in name of the real user. But the API is just a POST to /API/bpm/process/:processId/instantiation, and there is no information about any kind of delegation or something like that.
Is there any way to do what I need?
I know you can do this with the Engine/Java API, but I don't know how to do it with REST API
Bonita doesn't have the 'delegate' implementation. You need to create it by yourself.
For exemple, add user informations in instantiation contract. Save thoses informations in your own BDM table like 'delegatedUser'.
By this way, you will be able to show the delegatedUser informations in your process.
Hi... thank you for the answer, but it actually have... if you look at the case representation, in the docs,
"started_by":"the identifier of the user who started the case",
and if you create a case through the Bonita Java Client, logged in as admin, you'll have a case started by the user you inform and started by substitute as admin.
So, I still keep the hope to find a way to do what I need.
Anyway, thanks for the time you took to answer the question.