AnsweredAssumed Answered

Camel routes to resume/start Activiti task with variables

Question asked by sayantan_sinha on Apr 19, 2017
Latest reply on Apr 24, 2017 by sayantan_sinha

I have setup spring boot with activiti and camel. I am trying to configure Camel routes to poll email to do the below. Some examples on the same would be really helpful:

  • Resume a activti task 
  • Start a activiti task


For e.g. to resume a user task we need to pass something like the below to Acitviti Rest API which works fine


{"action" : "complete", "variables": [ {"name":"id, "value":1}, {"name":"outcome", "value":true} ]}



I started with the below for setting up Camel Routes, but not sure how to add variables that needs to be passed into activiti process:

public class MyCamelMailRouter extends RouteBuilder {
    public void configure() throws Exception {
                + "&searchTerm.subject=Approving&searchTerm.unseen=true")


Any help would be greatly appreciated.