Hi all,
I am new to Bonita. I want to start a process with "start message" without knowing its process id thru rest api, is it possible? I couldn't find any example on Internet. Many thank in advance.
Hi all,
I am new to Bonita. I want to start a process with "start message" without knowing its process id thru rest api, is it possible? I couldn't find any example on Internet. Many thank in advance.
Hello,
Sure it is possible via the REST message /API/bpm/message
https://documentation.bonitasoft.com/bonita/7.11/bpm-api#toc41
All the REST API documentation is here
https://documentation.bonitasoft.com/bonita/7.11/_rest-api
Best,
Finally get it works.
The messageName should be the same as the "Catch message" configured in the "message started" event, and the targetProcess should be the same as the process name (Pool -> Name).
Thanks man.
Actually I already tried the rest api... but I configured my process with start message even to catch message. e.g. "abc", and i submit a message thru rest api with the same name:
{
"messageName" : "abc" ,
"targetProcess": "abcManagement",
"messageContent" : {
"submitRFQ" : {
"value" : "refNo1"
}
}
}
It returnd 204 but I don't see any case created in my portal... what could be done wrong?
Hello
Awesome,
yes this is the same way as a classical process.
LongBoard help you on to determine the message you have to send
https://community.bonitasoft.com/project/custom-page-longboard