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

Capture and verify the task variables #81

Open
saig0 opened this issue Jul 9, 2021 · 0 comments
Open

Capture and verify the task variables #81

saig0 opened this issue Jul 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@saig0
Copy link
Collaborator

saig0 commented Jul 9, 2021

Is your feature request related to a problem? Please describe.
I want to verify the variables a task is called with (i.e. a job worker).

Assuming that the process instance contains some variables. These variables can be modified within the process using variable mappings. I want to make sure that the task worker gets the right variables.

It is different from the workflow-instance-variable verification because the task worker gets also variables from parent scopes.

Describe the solution you'd like
Provide a new verification task-variable to verify the variables a task is called with.

Parameters:

  • name: the name of the variable
  • value: the value of the variable
  • element_name: (optional) the name of the element in the workflow that has the variable in its scope
  • element_id: (optional) as an alternative to the name, the element can be identified by its id in the workflow
  • workflow_instance: (optional) the alias of a workflow instance. The alias is defined in the create-instance action. If only one instance is created then the alias is not required.

Either element_name or element_id must be defined.

Describe alternatives you've considered
No.

Additional context

@saig0 saig0 added the enhancement New feature or request label Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant