For the complete documentation index, see llms.txt. This page is also available as Markdown.

BoxRegisterInterceptionPoints

You can use this BIF to register custom interception points into either the "global" or the "request" interceptor pools.

Example:

 boxRegisterInterceptionPoints( "onOrderComplete" )
 boxRegisterInterceptionPoints( [ "onOrderComplete", "preOrder" ] )
 

Method Signature

BoxRegisterInterceptionPoints(states=[any], poolname=[string])

Arguments

Argument
Type
Required
Description
Default

states

any

false

The states to register the interception points for.

[]

poolname

string

false

The name of the interceptor pool to register the event to. Default is "global". Available pools are "global" and "request".

global

Examples

Register interception points globally

boxRegisterInterceptionPoints( [ "onApplicationStart", "onRequestStart" ] );
writeOutput( "registered" );

Result: registered

Last updated

Was this helpful?