Add a Call Action Chain Action

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

Note:

Using this JavaScript action, you can call a JSON action chain, however, you can't call a JavaScript action chain from a JSON action chain.

To use a Call Action Chain action:

  1. Add the action in one of three ways, depending on your preference and where you want it added:
    • Drag the action from the Actions palette onto the canvas, dropping the action either at the bottom edge of the action it is to follow, or at the top edge of the action it is to precede.
    • Double-click the action in the Actions palette to add it to an empty canvas or to the end of an action chain.
    • On the canvas, select the action you want the new action to follow, then double-click the new action in the Actions palette.
  2. Select an existing action chain from the Action Chain ID drop-down list, or click Create to create a new action chain.

    The dialog lets you choose between a new JavaScript or JSON action chain, and has a drop-down list for you to choose the action chain's scope (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're creating an action chain in a flow, you can only select other action chains defined in the same flow or in the current application, and you won't see an entry for page level action chains.
    Description of jsac-create-action-chain-popup.jpg follows
    Description of the illustration jsac-create-action-chain-popup.jpg

  3. If the called action chain requires input parameters, the input parameters will be listed under the Parameters section of the Properties pane. For each input parameter, hover over the far-right side of the parameter and click the down arrow that appears to choose its source. If you need to create a variable, use the appropriate Create Variable link in the Variables dialogue to create it at the appropriate scope level.

    If a value is returned by the action, it is assigned to the auto-generated variable shown by the Store Result In property.

    Here's an example of a completed Call Action Chain action with specified input parameters:
    Description of jsac-call-action-chain-action-example.jpg follows
    Description of the illustration jsac-call-action-chain-action-example.jpg

For API information about this action, see Call Action Chain in the Oracle Visual Builder Page Model Reference.