public interface SubWorkflowsCreationContext extends ProcessExecutionContext, DataContext
SubWorkflowsInvocationBean.handleCreateSubWorkflows(SubWorkflowsCreationContext)ProcessExecutionContext.WorkflowPermission| Modifier and Type | Method and Description |
|---|---|
void |
launchSubWorkflows()
Launches all registered sub-workflows.
|
ProcessLauncher |
registerSubWorkflow(AdaptationName aWorkflowModel,
String aSubWorkflowName)
Registers the launch of a sub-workflow.
|
createMailSpec, getProcessInstanceDescription, getProcessInstanceLabel, modifyProcessPrioritygetProcessInstance, getProcessInstanceCreator, getProcessInstanceKey, getProfileForPermission, getPublishedProcessKey, getRepository, getSessionsetVariableStringgetVariableNames, getVariableString, isVariableDefinedProcessLauncher registerSubWorkflow(AdaptationName aWorkflowModel, String aSubWorkflowName) throws OperationException
aWorkflowModel - name of the workflow model to use for the sub workflow launch.aSubWorkflowName - name of the workflow for the launch. This name is useful to retrieve a launched
sub workflow in the method
SubWorkflowsCompletionContext.getCompletedSubWorkflow(String)OperationExceptionvoid launchSubWorkflows()
throws OperationException
IllegalArgumentException - if a specified input parameter name is not declared in the sub workflow
definition's data context,
or the corresponding variable is not declared as being an input parameter.OperationException