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

  1. Define a workflow that has the LanguageType property.
    See Creating new workflows for information on how to create a new workflow with a LanguageType property.
  2. Set the language for this subflow so that it uses your preferred language.
  3. Instantiate the subflow by using the instantiateSubFlow method rather than the createSubFlow method.
  4. Set the LanguageType property on the instantiated subflow to the language of the parent workflow.
  5. Start the subflow by using one of the workflow start methods described in Instantiating a workflow

What to do next

See also