Execution trace for decision runtime

An execution trace shows an actual graph or tree of information that represents execution of a decision service. You can display an execution trace by specifying the executionTraceFilters parameter in the request body when your application calls a decision service with the decision runtime REST API.

The executionTraceFilters parameter is a JSON object that specifies which traces are activated in which format.

If this parameter is not set, the execution trace is null as a result.

The format for the request body in JSON payload:
{
  "executionId": "<value_1>",
  "input": "<value_2>",
  "executionTraceFilters": { ... }
}

For more information about the parameters, see the Schemas section for a corresponding REST API method in the Decision runtime REST API reference in Reference.

Note: If you want to include an exception stack trace in the response payload when an incident occurs, you must set the decisionRuntimeService.stackTraceEnabled parameter to true at the time of installing the product. By default, this parameter is set to false.