public interface SubWorkflowsCompletionContext extends ProcessExecutionContext, DataContext
This class provides information for each sub-workflows including their data context. This can be useful when setting variables from the main workflow's data context.
SubWorkflowsInvocationBean.handleCompleteAllSubWorkflows(SubWorkflowsCompletionContext)
ProcessExecutionContext.WorkflowPermission
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
getCompletedSubWorkflow(String aSubWorkflowName)
Retrieves the completed sub-workflow identified by a name.
|
List<ProcessInstance> |
getCompletedSubWorkflows()
Returns the list of completed sub-workflows sorted by launch order.
|
createMailSpec, getProcessInstanceDescription, getProcessInstanceLabel, modifyProcessPriority
getProcessInstance, getProcessInstanceCreator, getProcessInstanceKey, getProfileForPermission, getPublishedProcessKey, getRepository, getSession
setVariableString
getVariableNames, getVariableString, isVariableDefined
List<ProcessInstance> getCompletedSubWorkflows()
List of ProcessInstance
.
ProcessInstance getCompletedSubWorkflow(String aSubWorkflowName) throws OperationException
aSubWorkflowName
- name of the sub-workflow that was specified at launch time. For more information see
SubWorkflowsCreationContext.registerSubWorkflow(AdaptationName, String)
.OperationException