Add a Call Action Chain Action

You add a Call Action Chain action to an action chain to start a different action chain. The action can call other action chains defined in the same page, parent flow, or application.

Note:

You can call a JSON action chain from a JavaScript action chain using this action; however, you can't call a JavaScript action chain from a JSON action chain.

To add a Call Action Chain action:

  1. Open the Actions editor for the page.
  2. Create an action chain, or open an existing action chain to add the action in the editor.
  3. Drag Call Action Chain from the Actions palette into the action chain.

    You can drag the action onto the Add icon ( Add icon ) in the action chain, or between existing actions in the chain. The properties pane opens in the editor when you add the action to the chain.


    Description of action-chain-editor-callactionchain.png follows
    Description of the illustration action-chain-editor-callactionchain.png
  4. Select an existing action chain from the drop-down list of available action chains, or click Create to create a new action chain.

    The dialog where you create the new action chain to call displays a drop-down list where you choose where to define the scope of the new action chain (Page, Flow, or Application). Depending on where you are creating the action chain, the drop-down list might have entries for action chains defined in the page, in the current flow, or in the application. If you are creating an action chain in a flow artifact, you can only select other action chains defined in the same flow artifact or in the application artifact, and you will not see an entry for Page action chains.


    Description of action-chain-editor-selectactionchain.png follows
    Description of the illustration action-chain-editor-selectactionchain.png
  5. Optional: If the action chain that is called requires input parameters, click Assign in the Input Parameter section of the properties pane to map the input parameter to a variable.

    You map variables to parameters by dragging the variable for the source value in the Sources pane onto the Parameter for the input parameter in the Target pane. If a suitable variable does not exist, use the + icon beside the relevant node (Action Chain, Page, and so on) to create a new variable. Click Save.


    Description of action-chain-editor-callactionchain-map.png follows
    Description of the illustration action-chain-editor-callactionchain-map.png