Package com.orchestranetworks.workflow
Interface SubWorkflowsCreationContext
- All Superinterfaces:
DataContext,DataContextReadOnly,ProcessExecutionContext,ProcessExecutionInfoContext
Provides the context for launching the sub-workflows of a step.
- Since:
- 5.5.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orchestranetworks.workflow.ProcessExecutionContext
ProcessExecutionContext.WorkflowPermission -
Method Summary
Modifier and TypeMethodDescriptionvoidLaunches all registered sub-workflows.registerSubWorkflow(AdaptationName aWorkflowModel, String aSubWorkflowName) Registers the launch of a sub-workflow.Methods inherited from interface com.orchestranetworks.workflow.DataContext
setVariableStringMethods inherited from interface com.orchestranetworks.workflow.DataContextReadOnly
getVariableNames, getVariableString, isVariableDefinedMethods inherited from interface com.orchestranetworks.workflow.ProcessExecutionContext
createMailSpec, getProcessInstanceDescription, getProcessInstanceLabel, modifyProcessPriorityMethods inherited from interface com.orchestranetworks.workflow.ProcessExecutionInfoContext
getProcessInstance, getProcessInstanceCreator, getProcessInstanceKey, getProfileForPermission, getPublishedProcessKey, getRepository, getSession
-
Method Details
-
registerSubWorkflow
ProcessLauncher registerSubWorkflow(AdaptationName aWorkflowModel, String aSubWorkflowName) throws OperationException Registers the launch of a sub-workflow.- Parameters:
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 methodSubWorkflowsCompletionContext.getCompletedSubWorkflow(String)- Throws:
OperationException
-
launchSubWorkflows
Launches all registered sub-workflows.- Throws:
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
-