-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Not A Bug
-
Affects Version/s: 5.9.3
-
Fix Version/s: None
-
Component/s: Automation
When looking at doc on http://localhost:8080/nuxeo/site/automation/doc, chains are also listed as operations.
For chains like http://localhost:8080/nuxeo/site/automation/doc?id=cancelWorkflow, the doc specifies operations that are part of the chain (without parameter values), but the json export at http://localhost:8080/nuxeo/site/automation/cancelWorkflow does not list them:
{ "id" : "cancelWorkflow", "label" : "cancelWorkflow", "category" : "chain", "requires" : null, "description" : "", "url" : "cancelWorkflow", "signature" : [ "document", "document", "documents", "documents" ], "params" : [ ], }
Expected output:
{ "id" : "cancelWorkflow", "label" : "cancelWorkflow", "category" : "chain", "requires" : null, "description" : "", "url" : "cancelWorkflow", "signature" : [ "document", "document", "documents", "documents" ], "params" : [ ], "operations" : [ { "params" : [ ], "id" : "Context.FetchDocument" }, { "params" : [ { "name" : "name", "value" : "isParallelWF", "type" : "string", "map" : null }, { "name" : "value", "value" : "Event.context.getProperty(\"wfName\").equals(\"wf.parallelDocumentReview.ParallelDocumentReview\")?true:false", "type" : "object", "map" : null } ], "id" : "Context.SetVar" }, { "params" : [ { "name" : "id", "value" : "isParallelWF?\"Document.Unlock\":\"voidChain\"", "type" : "string", "map" : null }, { "name" : "isolate", "value" : "false", "type" : "boolean", "map" : null } ], "id" : "Context.RunOperation" } ] }