Member Junction
    Preparing search index...

    The ActionResult returned when the run-scoped circuit breaker blocks a call before it reaches the action engine. Carries the rule that fired so the failure directive can name it directly instead of re-deriving it from the failure history, which a blocked call never updates.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    AIDirectives?: AIDirective[]

    Optional array of structured directives for the AI agent. Propagated from ActionResultSimple.AIDirectives returned by the action implementation.

    Whenever an action is executed a log entry is created. This log entry is stored in the database and can be used to track the execution of the action. This property contains the log entry object for the action that was run.

    Message?: string

    Optional, a message an action can include that describes the outcome of the action. This is typically used to display a message to the user.

    Params?: ActionParam[]

    All parameters including inputs and outputs are provided here for convenience

    A code that indicates the outcome of the action. Will be one of the possible ResultCodes enumerated in the MJActionResultCodeEntity

    ResultCode?: string

    The result code as text: the action's own ActionResultSimple.ResultCode, or the code of a refusal the engine made without running the action (AUDIENCE_UNSUPPORTED_RESULT_CODE). Set whether or not it matches one of the action's metadata result codes — Result is that match, undefined when there is none. Absent when the run ended without a code (a timeout, an exception, a validation or filter refusal).

    RunParams: RunActionParams

    Contains the parameters that were used to run the action as a convenience.

    Success: boolean

    Indicates if the action was successful or not.