use of com.evolveum.midpoint.wf.impl.processes.common.ActivitiUtil in project midpoint by Evolveum.
the class WfTaskCreationInstruction method getAllProcessVariables.
public Map<String, Object> getAllProcessVariables() throws SchemaException {
Map<String, Object> map = new HashMap<>();
map.put(VARIABLE_PROCESS_INSTANCE_NAME, wfContext.getProcessInstanceName());
map.put(VARIABLE_START_TIME, processCreationTimestamp);
map.put(VARIABLE_OBJECT_REF, toLightweightObjectRef(wfContext.getObjectRef()));
map.put(VARIABLE_TARGET_REF, toLightweightObjectRef(wfContext.getTargetRef()));
map.put(VARIABLE_REQUESTER_REF, toLightweightObjectRef(wfContext.getRequesterRef()));
map.put(VARIABLE_CHANGE_PROCESSOR, changeProcessor.getClass().getName());
map.put(VARIABLE_PROCESS_INTERFACE_BEAN_NAME, wfContext.getProcessInterface());
map.put(VARIABLE_UTIL, new ActivitiUtil());
if (processorContent != null) {
processorContent.createProcessVariables(map, getPrismContext());
}
if (processContent != null) {
processContent.createProcessVariables(map, getPrismContext());
}
return map;
}
Aggregations