LinkedIn
Copied!

Perform action UI action in DX API

The Perform action action submits flow actions and completes assignments under certain conditions. Learn about the JSON structure and elements of a sample Perform action action, to understand how you can integrate it into your custom application.

The following JSON code is a sample API response for the Perform action action:

{
  "actionSets": [
    {
      "actions": [
        {
          "actionProcess": {
            "actionName": "PortletAction"
          },
          "action": "takeAction"
        }
      ],
      "events": [
        {
          "event": "click"
        }
      ]
    }
  ]
}

 

a Perform action with a Flow action
a Perform action with a Flow action
  • The actionSets, actions, and events elements are arrays.
  • DX API v1 does not support the when conditions in the action set.

For the Angular starter kit, note the following statements:

  • Perform action invokes the POST /assignments/{ID}?actionID={actionID} endpoint, and then the data that users enter is saved in the data base.
  • The implementation displays the form from which the action was launched.
  • Only the Click event is supported. The remaining events are returned in a DX API response, but have no effect.
Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.