Free cookie consent management tool by TermsFeed Get Execution Trace [Appian RPA v9.12]
Page not found in the selected version; redirected to the home page.
Get Execution Trace
The capabilities described on this page are included in Appian's standard capability tier. Usage limits may apply.

Tip:  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 task identifier and the execution number displayed in the Appian RPA console. The value before # symbol is the identifier of the robotic task, 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

Get Execution Trace

FEEDBACK