Skip to content

End Node - Automate Workflow Completion

End nodes let you display the flow's outputs upon success or an error message in case of failure.

Add and Configure an End Node

Setting up an End node in a tool flow involves adding the node at the appropriate location in the flow and configuring various node properties.

Steps

  1. On the Tools tab, click the name of the tool to which you want to add the node. The Tool Flow page is displayed.

  2. Click Go to flow to edit the in-development version of the flow.

  3. In the flow builder, click the “+” icon on any existing node on the canvas and select End from the pop-up menu. (Alternatively, drag the End node from the Assets panel onto the canvas.)

  4. Click the added node to open its properties dialog box. The General Settings for the node are displayed.
    Configure End Node

  5. Enter or select the following information:

    • Custom Name: Enter an appropriate name for the node.

    • Name (key): Select a key from the drop-down list. All defined keys in the Manage Output section are displayed here. You can select a variable and assign a value to it. (You can also add a new key. For more information, see Manage Input and Output variable.)
      Select a Key

    • Value: Select an appropriate variable or node as the value. Enter “{{context.” and select the node/variable from the list and then close the braces with “}}”.

      Example: {{context.steps.summarization.output}}

      Configure End Node

      Note

      Adding at least one output variable is required for each end node.

    • If you want to show multiple outputs or messages, click Add a Key to add the key and value details for the same.

  6. Finally, test the flow and fix any issues found. Click the Run Flow button at the top-right corner of the flow builder and follow the onscreen instructions.

Standard Error

When the value for the output variable is not defined, a list of unresolved outputs is displayed.