Extension points for workflows
Override existing scripts or call custom scripts for the workflows by using extension points on the ServiceNow AI Platform®.
You can access the available extension points for the customer life cycle management workflows in the ServiceNow AI Platform®. Start by entering sys_extension_point.list in the application navigator and pressing Enter. Then, you can select the extension point that you want to view the record details of. If you want to override an existing script, you can select Create implementation.
You can create extension points so that you can create a workflow for a sold product extension that is not already configured. You can also override extension points to create configurations. To learn more about the existing extensions and configurations of the Customer Life Cycle Management Workflows, see Customer Life Cycle Management Workflows.
You can create several implementations for each extension point and provide an order number for each implementation. The implementation that has the lowest order number is the one that is executed.
The following table lists the extension points of the Customer Life Cycle Management Workflows.
| Extension points | Description |
|---|---|
| CustomerWorkflowsEP sn_l2c_cust.flows.CustomerWorkflowEP |
Overrides the existing flows and configurations. This extension can be used for any one of these two reasons:
|
| GetSoldProductClassEP sn_l2c_cust_flows.GetSoldProductClassEP |
Returns the correct sold product and product inventory class. The extension can be used to create custom flows in the Add and Modify flows. |
| CustomerWorkflowCompleteEP sn_l2c_cust_flows.CustomerWorkflowCompleteEP |
Overrides existing methods to perform any custom post-processing actions after an order to sold product flow is complete. |