Is it possible to start a process with start message thru Rest API?
2 answers
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,
Comments
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?
Comments
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