FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...


v1.0.4 Public


FusionReactor API SDK. A simple CFML library for some common FRAPI functions.


  • FusionReactor installed. If it's not installed, this lib won't error, it just won't do anything
  • ColdFusion 10+ or Lucee Server


install frapisdk

And then access it like this

getInstance( '[email protected]' ).setCurrentTransactionName( 'My custom name' );

This should work find in a non-ColdBox app. Just manually create the CFC. It is receommented to use this as a singleton.

application.FRTransService = new modules.frapisdk.models.FRTransService();

application.FRTransService.setCurrentTransactionName( 'My custom name' );


Override the name of the current transaction

FRTransService.setCurrentTransactionName( 'My custom name' );

Override the name of the current transaction's application name

FRTransService.setCurrentTransactionApplicationName( 'My custom app name' );

Track a custom transaction (will be autlmatically associated with the web request master transaction)

var tran = FRTransService.startTransaction( 'name', 'description' );
try {
  // Do stuff here
} catch( any e ) {
  FRTransService.errorTransaction( tran, e );
} finally {
  // you MUST call this or the transaction will never show as being finished in FR's interfacet
  FRTransService.endTransaction( tran )

Dependencies (0)

Dev Dependencies (0)

$ box install FRAPISDK

No collaborators yet.
  • {{ getFullDate("Apr 15 2021 05:04 PM GMT") }}
  • {{ getFullDate("Apr 15 2021 05:04 PM GMT") }}
  • 973
  • 0
  • 5