I’m starting a process through bonita’s API and I’m trying to submit a task doing : processAPI.executeFlowNode(activityInstanceID);
My problem is that I don’t know how to get the “activityInstanceID” when all I’ve got is :
final ProcessInstance processInstance= processAPI.startProcess(processDefinitionId , variables);
I’ve cheked on what you did but I can’t make it work on the 6.2 API.
So I found a work around by just going to another humanTask if a variable has a value (that specific to my project).
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.