Search in sources :

Example 6 with WorkflowProcess

use of io.automatiko.engine.workflow.process.core.WorkflowProcess in project automatiko-engine by automatiko-io.

the class ProcessInstanceManagementResource method get.

@APIResponses(value = { @APIResponse(responseCode = "200", description = "List of available processes", content = @Content(mediaType = "application/json")) })
@Operation(summary = "Lists available public processes in the service")
@GET
@Path("/")
@Produces(MediaType.APPLICATION_JSON)
public List<ProcessDTO> get(@Context UriInfo uriInfo, @Parameter(description = "Pagination - page to start on", required = false) @QueryParam(value = "page") @DefaultValue("1") int page, @Parameter(description = "Pagination - number of items to return", required = false) @QueryParam(value = "size") @DefaultValue("10") int size, @Parameter(description = "User identifier as alternative autroization info", required = false, hidden = true) @QueryParam("user") final String user, @Parameter(description = "Groups as alternative autroization info", required = false, hidden = true) @QueryParam("group") final List<String> groups) {
    List<ProcessDTO> collected = new ArrayList<ProcessDTO>();
    try {
        identitySupplier.buildIdentityProvider(user, groups);
        for (String id : processData.keySet()) {
            Process<?> process = processData.get(id);
            if (!WorkflowProcess.PUBLIC_VISIBILITY.equals(((WorkflowProcess) ((AbstractProcess<?>) process).process()).getVisibility())) {
                continue;
            }
            String pathprefix = "";
            if (process.version() != null) {
                pathprefix = "v" + process.version().replaceAll("\\.", "_") + "/";
            }
            collected.add(new ProcessDTO(id, process.version(), process.name(), (String) ((AbstractProcess<?>) process).process().getMetaData().get("Documentation"), uriInfo.getBaseUri().toString() + pathprefix + ((AbstractProcess<?>) process).process().getId() + "/image", process.instances().size()));
        }
        return collected;
    } finally {
        IdentityProvider.set(null);
    }
}
Also used : ArrayList(java.util.ArrayList) ProcessDTO(io.automatiko.engine.addons.process.management.model.ProcessDTO) WorkflowProcess(io.automatiko.engine.workflow.process.core.WorkflowProcess) Path(javax.ws.rs.Path) Produces(javax.ws.rs.Produces) GET(javax.ws.rs.GET) APIResponses(org.eclipse.microprofile.openapi.annotations.responses.APIResponses) Operation(org.eclipse.microprofile.openapi.annotations.Operation)

Example 7 with WorkflowProcess

use of io.automatiko.engine.workflow.process.core.WorkflowProcess in project automatiko-engine by automatiko-io.

the class WorkItemNodeInstance method createWorkItem.

@SuppressWarnings({ "unchecked", "rawtypes" })
protected WorkItem createWorkItem(WorkItemNode workItemNode) {
    Work work = workItemNode.getWork();
    if (workItem == null) {
        workItem = newWorkItem();
        ((WorkItemImpl) workItem).setName(work.getName());
        ((WorkItemImpl) workItem).setProcessInstanceId(getProcessInstance().getId());
        ((WorkItemImpl) workItem).setParentProcessInstanceId(getProcessInstance().getParentProcessInstanceId());
        ((WorkItemImpl) workItem).setParameters(new HashMap<>(work.getParameters()));
        workItem.setStartDate(new Date());
    }
    // if there are any dynamic parameters add them
    if (dynamicParameters != null) {
        workItem.getParameters().putAll(dynamicParameters);
    }
    for (DataAssociation association : workItemNode.getInAssociations()) {
        if (association.getTransformation() != null) {
            Transformation transformation = association.getTransformation();
            DataTransformer transformer = DataTransformerRegistry.get().find(transformation.getLanguage());
            if (transformer != null) {
                Object parameterValue = transformer.transform(transformation.getCompiledExpression(), getSourceParameters(association));
                if (parameterValue != null) {
                    ((WorkItemImpl) workItem).setParameter(association.getTarget(), parameterValue);
                }
            }
        } else if (association.getAssignments() == null || association.getAssignments().isEmpty()) {
            Object parameterValue = null;
            VariableScopeInstance variableScopeInstance = (VariableScopeInstance) resolveContextInstance(VARIABLE_SCOPE, association.getSources().get(0));
            if (variableScopeInstance != null) {
                parameterValue = variableScopeInstance.getVariable(association.getSources().get(0));
            } else {
                try {
                    ExpressionEvaluator evaluator = (ExpressionEvaluator) ((WorkflowProcess) getProcessInstance().getProcess()).getDefaultContext(ExpressionEvaluator.EXPRESSION_EVALUATOR);
                    parameterValue = evaluator.evaluate(association.getSources().get(0), new NodeInstanceResolverFactory(this));
                } catch (Throwable t) {
                    logger.error("Could not find variable scope for variable {}", association.getSources().get(0));
                    logger.error("when trying to execute Work Item {}", work.getName());
                    logger.error("Continuing without setting parameter.");
                }
            }
            if (parameterValue != null) {
                ((WorkItemImpl) workItem).setParameter(association.getTarget(), parameterValue);
            }
        } else {
            association.getAssignments().stream().forEach(this::handleAssignment);
        }
    }
    for (Map.Entry<String, Object> entry : workItem.getParameters().entrySet()) {
        if (entry.getValue() instanceof String) {
            String s = (String) entry.getValue();
            Map<String, Object> replacements = new HashMap<>();
            Matcher matcher = PatternConstants.PARAMETER_MATCHER.matcher(s);
            while (matcher.find()) {
                String paramName = matcher.group(1);
                String replacementKey = paramName;
                String defaultValue = "";
                if (paramName.contains(":")) {
                    String[] items = paramName.split(":");
                    paramName = items[0];
                    defaultValue = items[1];
                }
                if (replacements.get(replacementKey) == null) {
                    VariableScopeInstance variableScopeInstance = (VariableScopeInstance) resolveContextInstance(VARIABLE_SCOPE, paramName);
                    if (variableScopeInstance != null) {
                        Object variableValue = variableScopeInstance.getVariable(paramName);
                        Object variableValueString = variableValue == null ? defaultValue : variableValue;
                        replacements.put(replacementKey, variableValueString);
                    } else {
                        try {
                            ExpressionEvaluator evaluator = (ExpressionEvaluator) ((WorkflowProcess) getProcessInstance().getProcess()).getDefaultContext(ExpressionEvaluator.EXPRESSION_EVALUATOR);
                            Object variableValue = evaluator.evaluate(paramName, new NodeInstanceResolverFactory(this));
                            Object variableValueString = variableValue == null ? defaultValue : variableValue;
                            replacements.put(replacementKey, variableValueString);
                        } catch (Throwable t) {
                            logger.error("Could not find variable scope for variable {}", paramName);
                            logger.error("when trying to replace variable in string for Work Item {}", work.getName());
                            logger.error("Continuing without setting parameter.");
                        }
                    }
                }
            }
            if (replacements.size() > 1) {
                for (Map.Entry<String, Object> replacement : replacements.entrySet()) {
                    s = s.replace("#{" + replacement.getKey() + "}", replacement.getValue().toString());
                }
                ((WorkItemImpl) workItem).setParameter(entry.getKey(), s);
            } else if (replacements.size() == 1) {
                ((WorkItemImpl) workItem).setParameter(entry.getKey(), replacements.values().iterator().next());
            }
        }
    }
    return workItem;
}
Also used : Transformation(io.automatiko.engine.workflow.process.core.node.Transformation) DataAssociation(io.automatiko.engine.workflow.process.core.node.DataAssociation) HashMap(java.util.HashMap) Matcher(java.util.regex.Matcher) ExpressionEvaluator(io.automatiko.engine.api.expression.ExpressionEvaluator) Date(java.util.Date) DataTransformer(io.automatiko.engine.api.runtime.process.DataTransformer) VariableScopeInstance(io.automatiko.engine.workflow.base.instance.context.variable.VariableScopeInstance) Work(io.automatiko.engine.workflow.base.core.Work) WorkItemImpl(io.automatiko.engine.workflow.base.instance.impl.workitem.WorkItemImpl) NodeInstanceResolverFactory(io.automatiko.engine.workflow.process.instance.impl.NodeInstanceResolverFactory) WorkflowProcess(io.automatiko.engine.workflow.process.core.WorkflowProcess) Map(java.util.Map) HashMap(java.util.HashMap)

Example 8 with WorkflowProcess

use of io.automatiko.engine.workflow.process.core.WorkflowProcess in project automatiko-engine by automatiko-io.

the class RuleSetNodeInstance method evaluateParameters.

@SuppressWarnings({ "unchecked", "rawtypes" })
protected Map<String, Object> evaluateParameters(RuleSetNode ruleSetNode) {
    Map<String, Object> replacements = new HashMap<>();
    for (Iterator<DataAssociation> iterator = ruleSetNode.getInAssociations().iterator(); iterator.hasNext(); ) {
        DataAssociation association = iterator.next();
        if (association.getTransformation() != null) {
            Transformation transformation = association.getTransformation();
            DataTransformer transformer = DataTransformerRegistry.get().find(transformation.getLanguage());
            if (transformer != null) {
                Object parameterValue = transformer.transform(transformation.getCompiledExpression(), getSourceParameters(association));
                replacements.put(association.getTarget(), parameterValue);
            }
        } else if (association.getAssignments() == null || association.getAssignments().isEmpty()) {
            Object parameterValue = null;
            VariableScopeInstance variableScopeInstance = (VariableScopeInstance) resolveContextInstance(VariableScope.VARIABLE_SCOPE, association.getSources().get(0));
            if (variableScopeInstance != null) {
                parameterValue = variableScopeInstance.getVariable(association.getSources().get(0));
            } else {
                try {
                    ExpressionEvaluator evaluator = (ExpressionEvaluator) ((WorkflowProcess) getProcessInstance().getProcess()).getDefaultContext(ExpressionEvaluator.EXPRESSION_EVALUATOR);
                    parameterValue = evaluator.evaluate(association.getSources().get(0), new NodeInstanceResolverFactory(this));
                } catch (Throwable t) {
                    logger.error("Could not find variable scope for variable {}", association.getSources().get(0));
                    logger.error("when trying to execute RuleSetNode {}", ruleSetNode.getName());
                    logger.error("Continuing without setting parameter.");
                }
            }
            replacements.put(association.getTarget(), parameterValue);
        }
    }
    for (Map.Entry<String, Object> entry : ruleSetNode.getParameters().entrySet()) {
        if (entry.getValue() instanceof String) {
            Object value = resolveVariable(entry.getValue());
            replacements.put(entry.getKey(), value);
        }
    }
    return replacements;
}
Also used : Transformation(io.automatiko.engine.workflow.process.core.node.Transformation) HashMap(java.util.HashMap) DataAssociation(io.automatiko.engine.workflow.process.core.node.DataAssociation) ExpressionEvaluator(io.automatiko.engine.api.expression.ExpressionEvaluator) DataTransformer(io.automatiko.engine.api.runtime.process.DataTransformer) VariableScopeInstance(io.automatiko.engine.workflow.base.instance.context.variable.VariableScopeInstance) NodeInstanceResolverFactory(io.automatiko.engine.workflow.process.instance.impl.NodeInstanceResolverFactory) WorkflowProcess(io.automatiko.engine.workflow.process.core.WorkflowProcess) HashMap(java.util.HashMap) Map(java.util.Map)

Example 9 with WorkflowProcess

use of io.automatiko.engine.workflow.process.core.WorkflowProcess in project automatiko-engine by automatiko-io.

the class BpmnProcessCompiler method from.

public List<BpmnProcess> from(ProcessConfig config, Resource... resources) {
    try {
        List<Process> processes = new ArrayList<>();
        for (Resource resource : resources) {
            XmlProcessReader xmlReader = new XmlProcessReader(getSemanticModules(), Thread.currentThread().getContextClassLoader());
            configureProcessReader(xmlReader, config);
            processes.addAll(xmlReader.read(resource.getReader()));
        }
        List<BpmnProcess> bpmnProcesses = processes.stream().map(p -> create(p, config)).filter(p -> p != null).collect(Collectors.toList());
        bpmnProcesses.forEach(p -> {
            for (Node node : ((WorkflowProcess) p.process()).getNodesRecursively()) {
                processNode(node, bpmnProcesses);
            }
        });
        return (List<BpmnProcess>) bpmnProcesses;
    } catch (Exception e) {
        throw new BpmnProcessReaderException(e);
    }
}
Also used : SubProcessNode(io.automatiko.engine.workflow.process.core.node.SubProcessNode) SemanticModule(io.automatiko.engine.workflow.compiler.xml.SemanticModule) SemanticModules(io.automatiko.engine.workflow.compiler.xml.SemanticModules) XmlProcessReader(io.automatiko.engine.workflow.compiler.xml.XmlProcessReader) ProcessConfig(io.automatiko.engine.api.workflow.ProcessConfig) Collectors(java.util.stream.Collectors) BPMNSemanticModule(io.automatiko.engine.workflow.bpmn2.xml.BPMNSemanticModule) Node(io.automatiko.engine.api.definition.process.Node) ArrayList(java.util.ArrayList) Resource(io.automatiko.engine.api.io.Resource) List(java.util.List) BPMNDISemanticModule(io.automatiko.engine.workflow.bpmn2.xml.BPMNDISemanticModule) WorkflowProcess(io.automatiko.engine.workflow.process.core.WorkflowProcess) Process(io.automatiko.engine.api.definition.process.Process) BPMNExtensionsSemanticModule(io.automatiko.engine.workflow.bpmn2.xml.BPMNExtensionsSemanticModule) XmlProcessReader(io.automatiko.engine.workflow.compiler.xml.XmlProcessReader) SubProcessNode(io.automatiko.engine.workflow.process.core.node.SubProcessNode) Node(io.automatiko.engine.api.definition.process.Node) ArrayList(java.util.ArrayList) Resource(io.automatiko.engine.api.io.Resource) WorkflowProcess(io.automatiko.engine.workflow.process.core.WorkflowProcess) Process(io.automatiko.engine.api.definition.process.Process) ArrayList(java.util.ArrayList) List(java.util.List) WorkflowProcess(io.automatiko.engine.workflow.process.core.WorkflowProcess)

Example 10 with WorkflowProcess

use of io.automatiko.engine.workflow.process.core.WorkflowProcess in project automatiko-engine by automatiko-io.

the class SubProcessNodeInstance method internalTrigger.

@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public void internalTrigger(final NodeInstance from, String type) {
    super.internalTrigger(from, type);
    // if node instance was cancelled, abort
    if (getNodeInstanceContainer().getNodeInstance(getId()) == null) {
        return;
    }
    if (!io.automatiko.engine.workflow.process.core.Node.CONNECTION_DEFAULT_TYPE.equals(type)) {
        throw new IllegalArgumentException("A SubProcess node only accepts default incoming connections!");
    }
    Map<String, Object> parameters = new HashMap<String, Object>();
    for (Iterator<DataAssociation> iterator = getSubProcessNode().getInAssociations().iterator(); iterator.hasNext(); ) {
        DataAssociation mapping = iterator.next();
        Object parameterValue = null;
        if (mapping.getTransformation() != null) {
            Transformation transformation = mapping.getTransformation();
            DataTransformer transformer = DataTransformerRegistry.get().find(transformation.getLanguage());
            if (transformer != null) {
                parameterValue = transformer.transform(transformation.getCompiledExpression(), getSourceParameters(mapping));
            }
        } else {
            VariableScopeInstance variableScopeInstance = (VariableScopeInstance) resolveContextInstance(VariableScope.VARIABLE_SCOPE, mapping.getSources().get(0));
            if (variableScopeInstance != null) {
                parameterValue = variableScopeInstance.getVariable(mapping.getSources().get(0));
            } else {
                try {
                    ExpressionEvaluator evaluator = (ExpressionEvaluator) ((WorkflowProcess) getProcessInstance().getProcess()).getDefaultContext(ExpressionEvaluator.EXPRESSION_EVALUATOR);
                    parameterValue = evaluator.evaluate(mapping.getSources().get(0), new NodeInstanceResolverFactory(this));
                } catch (Throwable t) {
                    parameterValue = VariableUtil.resolveVariable(mapping.getSources().get(0), this);
                    if (parameterValue != null) {
                        parameters.put(mapping.getTarget(), parameterValue);
                    } else {
                        logger.error("Could not find variable scope for variable {}", mapping.getSources().get(0));
                        logger.error("when trying to execute SubProcess node {}", getSubProcessNode().getName());
                        logger.error("Continuing without setting parameter.");
                    }
                }
            }
        }
        if (parameterValue != null) {
            parameters.put(mapping.getTarget(), parameterValue);
        }
    }
    String processId = getSubProcessNode().getProcessId();
    if (processId == null) {
        // if process id is not given try with process name
        processId = getSubProcessNode().getProcessName();
    }
    // resolve processId if necessary
    Map<String, String> replacements = new HashMap<String, String>();
    Matcher matcher = PatternConstants.PARAMETER_MATCHER.matcher(processId);
    while (matcher.find()) {
        String paramName = matcher.group(1);
        String replacementKey = paramName;
        String defaultValue = "";
        if (paramName.contains(":")) {
            String[] items = paramName.split(":");
            paramName = items[0];
            defaultValue = items[1];
        }
        if (replacements.get(replacementKey) == null) {
            VariableScopeInstance variableScopeInstance = (VariableScopeInstance) resolveContextInstance(VariableScope.VARIABLE_SCOPE, paramName);
            if (variableScopeInstance != null) {
                Object variableValue = variableScopeInstance.getVariable(paramName);
                String variableValueString = variableValue == null ? defaultValue : variableValue.toString();
                replacements.put(replacementKey, variableValueString);
            } else {
                try {
                    ExpressionEvaluator evaluator = (ExpressionEvaluator) ((WorkflowProcess) getProcessInstance().getProcess()).getDefaultContext(ExpressionEvaluator.EXPRESSION_EVALUATOR);
                    Object variableValue = evaluator.evaluate(paramName, new NodeInstanceResolverFactory(this));
                    String variableValueString = variableValue == null ? defaultValue : variableValue.toString();
                    replacements.put(replacementKey, variableValueString);
                } catch (Throwable t) {
                    logger.error("Could not find variable scope for variable {}", paramName);
                    logger.error("when trying to replace variable in processId for sub process {}", getNodeName());
                    logger.error("Continuing without setting process id.");
                }
            }
        }
    }
    for (Map.Entry<String, String> replacement : replacements.entrySet()) {
        processId = processId.replace("#{" + replacement.getKey() + "}", replacement.getValue());
    }
    // start process instance
    Process process = getProcessInstance().getProcessRuntime().getProcess(processId);
    if (process == null) {
        logger.error("Could not find process {}", processId);
        logger.error("Aborting process");
        ((ProcessInstance) getProcessInstance()).setState(ProcessInstance.STATE_ABORTED);
        throw new RuntimeException("Could not find process " + processId);
    } else {
        ProcessRuntime kruntime = ((ProcessInstance) getProcessInstance()).getProcessRuntime();
        if (getSubProcessNode().getMetaData("MICollectionInput") != null) {
            // remove foreach input variable to avoid problems when running in variable
            // strict mode
            parameters.remove(getSubProcessNode().getMetaData("MICollectionInput"));
        }
        ProcessInstance processInstance = null;
        if (((WorkflowProcessInstanceImpl) getProcessInstance()).getCorrelationKey() != null) {
            // in case there is correlation key on parent instance pass it along to child so
            // it can be easily correlated
            // since correlation key must be unique for active instances it appends
            // processId and timestamp
            List<String> businessKeys = new ArrayList<String>();
            businessKeys.add(((WorkflowProcessInstanceImpl) getProcessInstance()).getCorrelationKey());
            businessKeys.add(processId);
            businessKeys.add(String.valueOf(System.currentTimeMillis()));
            CorrelationKey subProcessCorrelationKey = new StringCorrelationKey(businessKeys.stream().collect(Collectors.joining(":")));
            processInstance = (ProcessInstance) ((CorrelationAwareProcessRuntime) kruntime).createProcessInstance(processId, subProcessCorrelationKey, parameters);
        } else {
            processInstance = (ProcessInstance) kruntime.createProcessInstance(processId, parameters);
        }
        this.processInstanceId = processInstance.getId();
        ((ProcessInstanceImpl) processInstance).setMetaData("ParentProcessInstanceId", getProcessInstance().getId());
        ((ProcessInstanceImpl) processInstance).setMetaData("ParentNodeInstanceId", getUniqueId());
        ((ProcessInstanceImpl) processInstance).setMetaData("ParentNodeId", getSubProcessNode().getUniqueId());
        ((ProcessInstanceImpl) processInstance).setParentProcessInstanceId(getProcessInstance().getId());
        ((ProcessInstanceImpl) processInstance).setRootProcessInstanceId(StringUtils.isEmpty(getProcessInstance().getRootProcessInstanceId()) ? getProcessInstance().getId() : getProcessInstance().getRootProcessInstanceId());
        ((ProcessInstanceImpl) processInstance).setRootProcessId(StringUtils.isEmpty(getProcessInstance().getRootProcessId()) ? getProcessInstance().getProcessId() : getProcessInstance().getRootProcessId());
        ((ProcessInstanceImpl) processInstance).setSignalCompletion(getSubProcessNode().isWaitForCompletion());
        ((ProcessInstanceImpl) processInstance).addChild(processInstance.getProcessId(), processInstance.getId());
        kruntime.startProcessInstance(processInstance.getId());
        if (!getSubProcessNode().isWaitForCompletion()) {
            triggerCompleted();
        } else if (processInstance.getState() == ProcessInstance.STATE_COMPLETED || processInstance.getState() == ProcessInstance.STATE_ABORTED) {
            processInstanceCompleted(processInstance);
        } else {
            addProcessListener();
        }
    }
}
Also used : Transformation(io.automatiko.engine.workflow.process.core.node.Transformation) StringCorrelationKey(io.automatiko.engine.services.correlation.StringCorrelationKey) HashMap(java.util.HashMap) Matcher(java.util.regex.Matcher) ArrayList(java.util.ArrayList) WorkflowProcess(io.automatiko.engine.workflow.process.core.WorkflowProcess) Process(io.automatiko.engine.api.definition.process.Process) ExpressionEvaluator(io.automatiko.engine.api.expression.ExpressionEvaluator) DataTransformer(io.automatiko.engine.api.runtime.process.DataTransformer) VariableScopeInstance(io.automatiko.engine.workflow.base.instance.context.variable.VariableScopeInstance) CorrelationKey(io.automatiko.engine.services.correlation.CorrelationKey) StringCorrelationKey(io.automatiko.engine.services.correlation.StringCorrelationKey) ProcessRuntime(io.automatiko.engine.api.runtime.process.ProcessRuntime) InternalProcessRuntime(io.automatiko.engine.workflow.base.instance.InternalProcessRuntime) CorrelationAwareProcessRuntime(io.automatiko.engine.services.correlation.CorrelationAwareProcessRuntime) CorrelationAwareProcessRuntime(io.automatiko.engine.services.correlation.CorrelationAwareProcessRuntime) DataAssociation(io.automatiko.engine.workflow.process.core.node.DataAssociation) WorkflowProcessInstanceImpl(io.automatiko.engine.workflow.process.instance.impl.WorkflowProcessInstanceImpl) ProcessInstanceImpl(io.automatiko.engine.workflow.base.instance.impl.ProcessInstanceImpl) NodeInstanceResolverFactory(io.automatiko.engine.workflow.process.instance.impl.NodeInstanceResolverFactory) ProcessInstance(io.automatiko.engine.workflow.base.instance.ProcessInstance) HashMap(java.util.HashMap) Map(java.util.Map)

Aggregations

WorkflowProcess (io.automatiko.engine.workflow.process.core.WorkflowProcess)11 DataAssociation (io.automatiko.engine.workflow.process.core.node.DataAssociation)8 ArrayList (java.util.ArrayList)8 Map (java.util.Map)8 ExpressionEvaluator (io.automatiko.engine.api.expression.ExpressionEvaluator)7 DataTransformer (io.automatiko.engine.api.runtime.process.DataTransformer)7 VariableScopeInstance (io.automatiko.engine.workflow.base.instance.context.variable.VariableScopeInstance)7 NodeInstanceResolverFactory (io.automatiko.engine.workflow.process.instance.impl.NodeInstanceResolverFactory)7 HashMap (java.util.HashMap)7 Transformation (io.automatiko.engine.workflow.process.core.node.Transformation)6 List (java.util.List)6 Process (io.automatiko.engine.api.definition.process.Process)4 Assignment (io.automatiko.engine.workflow.process.core.node.Assignment)4 CompositeContextNode (io.automatiko.engine.workflow.process.core.node.CompositeContextNode)4 Connection (io.automatiko.engine.api.definition.process.Connection)3 WorkItemExecutionError (io.automatiko.engine.api.workflow.workitem.WorkItemExecutionError)3 Context (io.automatiko.engine.workflow.base.core.Context)3 ContextContainer (io.automatiko.engine.workflow.base.core.ContextContainer)3 DataTransformerRegistry (io.automatiko.engine.workflow.base.core.impl.DataTransformerRegistry)3 ProcessInstance (io.automatiko.engine.workflow.base.instance.ProcessInstance)3