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.

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

To use a Call Action Chain action:

  1. Add the action in one of three ways, as explained at the end of Built-In Actions.
  2. Select an existing action chain from the Action Chain ID 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 list for you to choose the action chain's scope (page, flow, or application). Depending on where you are creating the action chain, the 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 Select Variable to choose its source. If you need to create a variable, use the appropriate Create 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