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

Querying workflows by variable content #2158

Closed
Tracked by #2170
fjtirado opened this issue Dec 4, 2024 · 0 comments · Fixed by #2161
Closed
Tracked by #2170

Querying workflows by variable content #2158

fjtirado opened this issue Dec 4, 2024 · 0 comments · Fixed by #2161
Assignees

Comments

@fjtirado
Copy link
Contributor

fjtirado commented Dec 4, 2024

Description

Often users have to retrieve process instances using information within the process instances (aka workflow data).
At the moment it's not possible to write a graphql query to retrieve workflow instances based on the workflow variable content.
 
 
The current grapql schema is capable of handling

ProcessInstances (where:{state:{equal:COMPLETED}}) {
    variables,
    state,
    lastUpdate,
    nodes {
      name
    }
  }

but variables fileld is not filterable, so currently we cannot write

ProcessInstances (where:{variables:{workflowdata:{language:{equal:Spanish}}}}) {
    variables,
    state,
    lastUpdate,
    nodes {
      name
    }
  }

Implementation ideas

No response

@fjtirado fjtirado self-assigned this Dec 4, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 10, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 10, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 10, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 10, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 10, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 10, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 11, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 12, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 12, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 12, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 12, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 13, 2024
Rolling back unneded pom change
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Dec 13, 2024
Rolling back unneded pom change
fjtirado added a commit that referenced this issue Dec 13, 2024
* [Fix #2158] Adding support for querying workflow variables

* [Fix #2158] Adding more filter conditions

* [Fix #2158] Gonzalos comment

Rolling back unneded pom change

* [Fix #2158] Gonzalos comment

Rolling back unneded pom change
rgdoliveira pushed a commit to rgdoliveira/kogito-apps that referenced this issue Dec 17, 2024
…che#2161)

* [Fix apache#2158] Adding support for querying workflow variables

* [Fix apache#2158] Adding more filter conditions

* [Fix apache#2158] Gonzalos comment

Rolling back unneded pom change

* [Fix apache#2158] Gonzalos comment

Rolling back unneded pom change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant