Get Execution Trace

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

This version of the Appian RPA documentation was written for Appian 21.4, and does not represent the interfaces or functionality of other Appian versions.
Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK