-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF33, 11.3, 2021.0
-
Release Notes Summary:Starting a workflow from the REST API endpoint uses the variables passed with the request.
-
Tags:
-
Backlog priority:750
-
Sprint:nxplatform #18
-
Story Points:3
The Workflow adapter does not take into account the workflow variables passed through the payload
curl -X POST 'http://localhost:8080/nuxeo/api/v1/id/663bd92f-bc53-479d-b61d-f759e41daf51/@workflow?' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'content-type: application/json' -H 'content-type: application/json' -d ' { "entity-type" : "workflow", "workflowModelName" : "SerialDocumentReview", "variables" : { "initiatorComment" : "workflow start", "validationOrReview" : "review" } }' -u Administrator:<PASSWORD>
After starting the workflow with this command, none of the workflow variables "initiatorComment" or "validationOrReview" will be set with the provided value.
- Is referenced in
(1 Is referenced in)