Execution
Availability table
Module |
Available |
|---|---|
execution controller
Manages the script lifecycle and generates an execution report.
Behavior varies depending on the script type:
ValueScript — This method must not be called; doing so will result in an error state for the value.
KeycloakScript — Returns an empty Claim on failure; otherwise, the previously computed claim is returned.
DetachedScript — Returns the concatenation of message and content on success, or the error message on failure.
- execution.reportFailure(message: string)
Interrupt current script and report a failure with message.
- Arguments:
message – Message that describe reason of failure.
- execution.reportResult(message: string, result?: object)
Interrupt current script execution and report a message
- Arguments:
message
result – holds a result generated by the detached script