BPMN and DMN in camunda

Hello guys, i am a new user of camunda and i curious is it possible to combine DMN table and BPMN so I can get the response in postman same as when I hit just using DMN? I already try it for a day and keep failing. I really need a help. thank youu guyss

It’s a little complicated because the DMN engine is syncronous and runs in a single thread whilet he process engine is event based and async so it can’t return results to postman because the connection ends as soon as a process begines. You’d need to to explicitly have the BPMN model call back to a webhook or something after the DMN has exectued.

Alternativly you coudl make two calls, one that starts the process and a second that queries the process instance to retreive the variables it has

1 Like

Yes, as mentioned above a business process is not supposed to give you synchronous responses. It is not a limitation or flaw, it’s the concept (remember that business processes can run for many days).

If it is about a use case, you likely have to revisit the solution and adopt the proper approach. In addition to the last approach suggested by Niall, you can also make your process end with a Message that will send the outcome to an endpoint.