Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remediation - launch a dynamic service task
testVar = "remed";
kcontext.setVariable("testVar",testVar);
org.jbpm.casemgmt.CaseMgmtService cmService = new org.jbpm.casemgmt.CaseMgmtUtil(kcontext);
java.util.Map<String, Object> workParams = new java.util.HashMap<String, Object>();
workParams.put("Message", testVar);
cmService.createDynamicWorkTask(kcontext.getProcessInstance().getId(), "Log", workParams);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.