Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process variables added to the task level in Cloud Query database #2164

Closed
igdianov opened this issue Nov 15, 2018 · 2 comments
Closed

Process variables added to the task level in Cloud Query database #2164

igdianov opened this issue Nov 15, 2018 · 2 comments
Assignees
Milestone

Comments

@igdianov
Copy link
Contributor

igdianov commented Nov 15, 2018

makes the variable appear twice on the process scope level :

Activiti Cloud Version: 7.0.0.Beta3

     {
          "id": "007410b2-e889-11e8-9f53-0a580a2c0131",
          "status": "RUNNING",
          "name": null,
          "processDefinitionKey": "SimpleProcess",
          "tasks": [
            {
              "id": "007437c8-e889-11e8-9f53-0a580a2c0131",
              "name": "Perform action",
              "owner": null,
              "status": "ASSIGNED",
              "description": null,
              "variables": [
                {
                  "id": 689,
                  "name": "lastName",
                  "value": "Silva"
                },
                {
                  "id": 690,
                  "name": "age",
                  "value": 25
                },
                {
                  "id": 688,
                  "name": "firstName",
                  "value": "Paulo"
                }
              ]
            }
          ],
          "variables": [
            {
              "id": 685,
              "name": "firstName",
              "value": "Paulo",
              "type": "string"
            },
            {
              "id": 687,
              "name": "age",
              "value": 25,
              "type": "integer"
            },
            {
              "id": 689,
              "name": "lastName",
              "value": "Silva",
              "type": "string"
            },
            {
              "id": 690,
              "name": "age",
              "value": 25,
              "type": "integer"
            },
            {
              "id": 686,
              "name": "lastName",
              "value": "Silva",
              "type": "string"
            },
            {
              "id": 688,
              "name": "firstName",
              "value": "Paulo",
              "type": "string"
            }
          ]
        },
@igdianov igdianov added the bug label Nov 15, 2018
@igdianov igdianov changed the title Task variables added twice to the process level in Cloud Query database Process variables added to the task level in Cloud Query database Nov 15, 2018
@salaboy salaboy added this to Open in Activiti 7.x via automation Nov 15, 2018
@salaboy salaboy added this to the Beta4 milestone Nov 15, 2018
@salaboy
Copy link
Contributor

salaboy commented Nov 15, 2018

@igdianov :+1 I am assigning @CTI777 as candidate, I think that this is a very well scoped task to solve.

@erdemedeiros
Copy link
Member

@igdianov is this the response when you call GET {{gateway}}/query/v1/process-instances/{processInstanceId} endpoint?
I'm surprised to find tasks and variables at this level. I thought that embedded objects where not retrieved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Activiti 7.x
  
Closed
Development

No branches or pull requests

4 participants