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

WorkflowServices should provide filtering process instances by variable value #40

Closed
PabitraKumar-Behera opened this issue Mar 30, 2017 · 2 comments
Assignees
Milestone

Comments

@PabitraKumar-Behera
Copy link
Contributor

PabitraKumar-Behera commented Mar 30, 2017

Similar to what's provided in the ProcessInstances service used by Designer. Hopefully this can be accomplished with zero impact to queries where variables are not part of the criteria.

Also, support for more complex conditions like != and ||.

@PabitraKumar-Behera PabitraKumar-Behera added this to the 6.0.02 milestone Mar 30, 2017
@donaldoakes donaldoakes modified the milestones: 6.x, 6.0.02 Apr 7, 2017
@donaldoakes donaldoakes changed the title Service for filtering process instances by variable value WorkflowServices should provide filtering process instances by variable value Jul 11, 2017
@donaldoakes donaldoakes modified the milestones: 6.0.05, 6.x Jul 11, 2017
@donaldoakes donaldoakes added this to Pending in mdw-services Jul 31, 2017
@magrawa magrawa modified the milestones: 6.0.05, 6.0.06 Aug 11, 2017
@magrawa magrawa modified the milestones: 6.0.06, 6.0.07 Sep 11, 2017
@magrawa magrawa self-assigned this Oct 11, 2017
@magrawa magrawa modified the milestones: 6.0.07, 6.0.08 Oct 13, 2017
@magrawa magrawa modified the milestones: 6.0.08, 6.0.09 Oct 27, 2017
@magrawa magrawa closed this as completed Nov 20, 2017
@magrawa magrawa reopened this Nov 28, 2017
magrawa pushed a commit that referenced this issue Nov 28, 2017
magrawa added a commit that referenced this issue Jan 30, 2018
magrawa added a commit that referenced this issue Jan 30, 2018
@magrawa magrawa removed their assignment Apr 30, 2018
@donaldoakes donaldoakes self-assigned this Sep 4, 2018
@donaldoakes
Copy link
Collaborator

donaldoakes commented Sep 7, 2018

Here are the parameters supported by the MDW API for querying process instances:
Here's an example of an API request by variable value (url-encoded):

http://localhost:8080/mdw/api/processes?master=true&processId=244005592&values=%7BmyStringVar%3Dabcdef%2CmyIntVar%3D123456%7D

Without encoding, the variables query param looks like this:

values={myStringVar=abcdef,myIntVar=123456}

(enclose string variable value in single quotes if it contains a comma)

donaldoakes pushed a commit that referenced this issue Sep 13, 2018
donaldoakes pushed a commit that referenced this issue Sep 13, 2018
@donaldoakes
Copy link
Collaborator

Complex conditions will be a future enhancement.

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

No branches or pull requests

3 participants