Creating actions

Create actions to define the logic that runs when a workflow reaches a specific step. Actions provide a way for you to reuse service definitions, standardize processing behavior, and reduce duplicated logic across workflows, which helps teams build and update automation faster and with more consistency.

About this task

Actions are created within an action group. The selected group determines how the action is organized, but it does not affect how the action runs. Use this task to trigger reusable logic at a specific point in a workflow. You can reference service definitions and standardize behavior across processes.

Procedure

  1. Log in to Order Hub.
  2. From the side navigation menu, select Configuration > Application platform > Process modeling.
  3. In the process modeling area, open the required process type by clicking the component.
    The system displays the Service definitions list in the side panel.
  4. Click the Actions icon Actions icon that looks like a bell.
    The system displays the Actions list in the side panel.
  5. From the Actions list, select the action group under which you want to organize the new action.
  6. In the Actions window, click the Add icon Add icon that looks like plus sign.
    The system displays the New Action window.
  7. Enter an action code that uniquely describes the action in the OMS system.
    Action codes are descriptive and concise. They reflect what the action does, not where it is used. Typical action codes use uppercase letters and underscores. For example, CONFIRM_SHIPMENT.
  8. Enter an action name that is viewable in the user interface.
    Note: To avoid conflicts with built-in actions, add a prefix to any custom-defined actions. For example, add the prefix 'EXTN_'.
  9. Click Save.
  10. To add services, click Add services.
  11. From the Service list window, search and add one or more services, then click Add services.
  12. If you want the action to run logic, call one or more APIs, or integrate with an external system, select Invoke the following services as part of this action.
  13. Click Save.

Results

A new action is created from the canvas configuration and is listed under the specified action group. Workflows can reference the action to run consistent logic by using linked service definitions during processing.