-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.7.3
-
Component/s: Automation
User story :
I'm a Studio designer and I wrote a workflow using several Automation chains I designed.
From Nuxeo I start a workflow and get an error due to Automation.
I must be able to do this:
- I go to the admin center to activate Automation tracing.
- I do my workflow operation that fails.
- I come back to the admin center and see a full trace of the operations and their arguments that have been executed, broken down by user and date.
- I deactivate Automation tracing.
Technical description
Give the possibility for the client to retrieve a full execution stack.
Here are the steps to follow
- add callback logic in automation processing, provide callback for stack capture
- allow to activate / deactivate the tracking using a JMX or REST API
- integrate with unit test case
- integrate a stack reference in the Exception that is returned to the client
- integrate with web engine module : debug resource where I can retrieve the stack using the stackId provided inside the Excception
- (optional) integrate with nuxeo shell