JBoss Community

Re: How to set a process variable from java code ?

created by Ouadi BEL in jBPM - View the full discussion

Here is how I start my process :

 

 


 
 
 
 
private static Map<String, Object> initialParams = new HashMap<String, Object>();
 
initialParams.put(p_userAutentified, "maker");
 
 
 
 
 
 
 
 
// Starting a process instance
 
 
 
 
 
 
ksession.startProcess("workflowMakerCheckerV1", initialParams);
 
 
 
 
 
 
 
 
 
 
 
 
logger.info("Process was successfully strated");
 
 

Reply to this message by going to Community

Start a new discussion in jBPM at Community