Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Sublflow - Add Sold Product to Contract and Entitlement

Diego Chavez
Tera Contributor

Does anyone know from where the subflow "Add Sold Product to Contract and Entitlement" is being triggered?

This is executing when an Order Line/Order is being set to completed.

 

I can see that the internal name is referenced in script include: "ContractAndEntitlementWorkflowConstantsSNC"

Then the following script includes reference the constant value for that flow "

ADD_SP_TO_CONTRACT"
 
Script include: ContractAndEntitlementWorkflowEP_OrderSoldProductToContractSNC
Script include: PIToContractEPSNC
 
But I can't find what is calling those script includes. Breakpoints are not being triggered in debug logs either.
 

 

 

1 REPLY 1

StephenR0086629
Tera Contributor

Had a similar headache tracing subflow triggers in ServiceNow — those script includes reference chains can be brutal to follow. What helped me was checking Business Rules on the order tables directly, since breakpoints sometimes just don't catch async executions. Also worth looking at event registry for order completion events. Funny enough, cleaner pipeline tracking in tools like Phonexa reminded me how important visibility is at every step — same principle applies in ServiceNow debugging.