getExpressionsFromCfc()

Overview

public struct function getExpressionsFromCfc(
      required string componentPath
    , required string rootPath     
)

Reads the configured rules engine expressions from the given handler CFC file. Returns a struct whose keys are IDs of expressions and whose values are the detailed configuration of the expression as defined in the handler CFC actions

Arguments

NameTypeRequiredDescription
componentPathstringYesFull mapped dotted path to the CFC, e.g. app.handlers.rules.expressions.myExpression
rootPathstringYesRoot path of directory containing expressions, e.g. app.handlers.rules.expressions