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

BadUserRequestException when filtering process instances for batch operation using a date variable in a query #4733

Open
1 task
mboskamp opened this issue Oct 17, 2024 · 0 comments
Assignees
Labels
type:bug Issues that describe a user-facing bug in the project.

Comments

@mboskamp
Copy link
Member

Environment (Required on creation)

Reproduced with

  • Camunda 7.22.0
  • Camunda Run
  • H2

Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)

When starting a batch operation to set variables, we can filter process instances by query. When filtering the process instances by a variable of type Date, the query returns a result, but there is an error when the batch is executed.

Steps to reproduce (Required on creation)

  • Take any process definition and set a date variable to an instance
  • Go to Batch Operations in Cockpit and select Set Variable
  • Select the query option to filter for process instances
  • Set variable: variableName = 2024-10-17T13:55:00.000+0200 filter (depending on the date you set in the variable)
  • Specify a variable to set with the Batch and execute the Batch.

Observed Behavior (Required on creation)

  • There is an error when executing the dialog

Browser console log:

{
  "type" : "BadUserRequestException",
  "message" : "processInstanceIds is empty",
  "code" : 0
}

Error displayed in Cockpit:
image

Expected behavior (Required on creation)

  • There is no error and the variable is set via Batch to all process instances found by the query.

Root Cause (Required on prioritization)

TBD

Solution Ideas

Hints

Links

Breakdown

Pull Requests

No tasks being tracked yet.

Dev2QA handover

  • Does this ticket need a QA test and the testing goals are not clear from the description? Add a Dev2QA handover comment
@mboskamp mboskamp added the type:bug Issues that describe a user-facing bug in the project. label Oct 17, 2024
@mboskamp mboskamp self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Issues that describe a user-facing bug in the project.
Projects
None yet
Development

No branches or pull requests

1 participant