From other workflow

From other workflow

The input type From other workflow, means that this workflow can only be called from another workflow. This is normally referred to as a sub-workflow.

Examples of use:
A sub-workflow can be called from multiple main workflows, so you can use this to re-use the same subset of workflow elements.
You can also refer to a sub-workflow as an error workflow - i.e. a workflow to be called if an error should occur.
You can use a sub-workflow to group workflow components together which can be the complete workflow more transparent.

The output of the main workflow must fit the input type of the workflow defined in this manner.

 

This workflow input type has these settings:

    

  1. Endpoint unique ID
    Here you state a unique ID for the current workflow. The other workflows, that are to call this workflow, will refer to the workflow by this name.
  2. Input type
    The type of input, that the main workflow should have as payload, when calling this workflow.
    Possible values are:

    

  1. Sample XML file
    If you are going to do conditions and/or Xpath expressions, then it is recommended to refer to an optional, sample XML file. If you click the magnifying glass, then you can select the sample XML file, that you want to use as a reference.
  2. On error workflow
    Another workflow to be called, if there is an error during processing of this workflow. This can be overwritten with another workflow.
If you want to call such a sub-workflow, then you can click the '+' icon and then see the list of possible workflows via the Workflow tab:

The dark grey elements are workflow groups, which can be expanded in order to see the workflow within this group.
    • Related Articles

    • Workflow components

      In the workflow you setup many different actions, that can be executed automatically. These actions are called components. The procedure to insert a workflow component is described here. If you are searching for a specific workflow component, the ...
    • Workflow groups

      It is possible to assign a group name to a workflow. You can do that either when you create a new workflow, or by editing the header of an existing workflow. You see the groups of the workflows in the workflow overview: The groups are listed in the ...
    • Workflow examples

      Below you see a list of examples of how to setup a workflow to achieve a specific task: How to move files with processing errors into an error folder. How to create a PDF file and insert it into the input XML file encoded in base64. Examples of how ...
    • Workflow lists

      All workflows/workflow groups are shown in the overview below: The view above lists all workflow groups followed by the workflows without a group - sorted by the workflow name. Groups are shown with a dark gray background and white text as the Demo ...
    • Generic workflow

      One of the unique features of the InterformNG2 workflows is the ability to setup very dynamic and generic workflows. There are multiple advantages with a generic workflow: It is much smaller compared to a setup, that e.g. contains a whole subtree for ...