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
-
Log in to Order Hub.
- From the side navigation menu, select
.
- 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.
- Click the Actions icon
. The system displays the
Actions list in the side panel.
- From the Actions list, select the action group under which you want
to organize the new action.
- In the Actions window, click the Add icon
. The system displays the
New Action window.
- 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.
- 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_'.
- Click Save.
- To add services, click Add services.
- From the Service list window, search and add one or more services,
then click Add services.
- 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.
- 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.