how to add custom objects to the process instance?
this work:
variableMap.put("assignee", authorizatorObject.getAuthorizator());
this won't
variableMap.put("authorizatorObject", authorizatorObject);
because activiti doesn't know my object!?!?
or on the process definition i need to declare authorizatorObject variable?
want to have the authorizatorObject on my process model
The object need to be Serializable!!!
/get pedidoAutorizacao object from the process
pedidoAutorizacao = (PedidoAutorizacao) getActivitiEngine().getRuntimeService().getVariable(task.getProcessInstanceId(), "authRequest");