Create a child subflow
About this task
You can create a child subflow that inherits the language of the parent workflow. This example uses the Workflow method instantiateSubflow. There are other methods you can use, as described in Methods that create a language-specific subflow.
Procedure
-
Define a workflow that has the
LanguageTypeproperty.See Creating new workflows for information on how to create a new workflow with aLanguageTypeproperty. - Set the language for this subflow so that it uses your preferred language.
- Instantiate the subflow by using the instantiateSubFlow method rather than the createSubFlow method.
-
Set the
LanguageTypeproperty on the instantiated subflow to the language of the parent workflow. - Start the subflow by using one of the workflow start methods described in Instantiating a workflow
What to do next
See also
