For the complete documentation index, see llms.txt. This page is also available as Markdown.

execute-action

Using execute-action gives you a reusable way to run global actions from jigs, events, and other actions. Use it when the same logic must run in multiple places, or when you need to call an action from another installed solution. For more information, see Global Actions.


How to configure execute-action

1

Create a jigx file under the actions folder.

2

Auto-completion pops up with the list of available actions. Select the required action and configure the properties' values.

3

Use expressions to configure global options such as actions, expressions, and datasources.

4

Call the global action in a jig or index.jigx. Open the jig where you want to call the global action.

5

Use IntelliSense to list the available actions and select the Execute Action option action.execute-action.

6

Configure the action property by selecting the global action file from the list of available global action files. The when: property can be used to determine when the global action must execute in a jig. Add package to call a global action from another installed solution. Both action and package accept fixed values or expressions.

Some properties are common to all actions, see Common action properties for the list of actions and their configuration options.

Cross-solution action access

Use the package property to run a global action from another installed solution. This follows the same cross-solution pattern used for datasources. See Cross solution datasource access.

Both action and package accept expressions. This lets you resolve the target solution and global action at runtime.

Examples and code snippets

action:
  type: action.sync-entities
  options:
    provider: DATA_PROVIDER_REST
    entities:
      - entity: customers
        function: new-rest-get-customers

Last updated

Was this helpful?