Get Execution Trace
This content applies solely to Appian RPA, which must be purchased separately from the Appian base platform.

Remember to include the appropriate authentication headers in your HTTP request message when using this method.

Get Execution Trace

POST: /execution/trace

This method returns the log trace of an execution. The requested execution may not have started, finished, or finished successfully. The trace may contain a large amount of information.

Request body

Parameter Example Required? Description
executionId "5eda733e760e2c31fbaaee70#1" Yes A combination of the robotic process identifier and the execution number displayed in the Appian RPA console. The value before # symbol is the identifier of the robotic process, and the value after the # symbol is the execution number seen in the Appian RPA console

Example request body:

1
2
3
{
    "executionId" : "5eda733e760e2c31fbaaee70#1"
}

Response

The call is successful if "invocationResult" = "OK".

Element Example Data type Description
lastUpdated 1570616993830 String Date and time when the execution trace was last updated, expressed in UNIX epoch time
Units: milliseconds
errorMessage null String Whether the execution contains an error message
trace "[INFO] 2020-02-07 09:06:59 - - Robot 'Hello-Queue' (5e39679607f6cf23a21eca3f), execution #2, technology JAVA, start method CONSOLE, log level TRACE, testing mode is OFF, external workflow is OFF, user admin, preselected queue is Test REST (2\n[INFO] 2020-02-07 09:06:59 - - Robot without instructions\n[INFO] 2020-02-07 09:06:59 - - Robot without environment variables\n[INFO] 2020-02-07 09:06:59" String The trace information for the requested execution

Example response body:

1
2
3
4
5
6
7
8
9
{
    "invocationResult": "OK",
    "result": {
        "lastUpdated": 1570616993830,
        "errorMessage": null,
        "trace": "[INFO] 2020-02-07 09:06:59 - - Robot 'Hello-Queue' (5eda733e760e2c31fbaaee70), execution #1, technology JAVA, start method CONSOLE, log level TRACE, testing mode is OFF, external workflow is OFF, user admin, preselected queue is Test REST (2\n[INFO] 2020-02-07 09:06:59 - - Robot without instructions\n[INFO] 2020-02-07 09:06:59 - - Robot without environment variables\n[INFO] 2020-02-07 09:06:59"
    },
    "exceptionThrownText": null
}

Troubleshooting

Possible reasons calls may be unsuccessful ("invocationResult" = "KO"):

  • None
Open in Github Built: Wed, Aug 17, 2022 (01:05:05 PM)

On This Page

FEEDBACK