Complete Human tasks in Bulk

Hi Community

I am trying to complete all pending tasks together in one attempt .
I am using the Java API executeFlowNode.
When I call this method using groovy script in connector, I get an error saying inputs are missing.
I am not sure how to pass Serializable inputs.

If anyone has a sample code that i can follow, please do share.
There is another method executeUserTask.
i need help to create a simple method to pass user inputs and complete the task using groovy.

Once I can do this for 1 task, i can then do the same in Bulk.

Regards

Hello,

You have to pass a map<String,Serializable> which match all input.

Have a look in the project Meteor (https://github.com/Bonitasoft-Community/page_meteor) ,and in one robot like https://github.com/Bonitasoft-Community/page_meteor/blob/master/src/main/java/org/bonitasoft/meteor/scenario/process/MeteorRobotUserActivity.java to have an example

Hope this help,