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

Add a query criteria to retrieve all executing jobs #4470

Closed
1 task
prajwolbhandari1 opened this issue Jul 2, 2024 · 10 comments
Closed
1 task

Add a query criteria to retrieve all executing jobs #4470

prajwolbhandari1 opened this issue Jul 2, 2024 · 10 comments
Assignees
Labels
group:closed-as-inactive DRI: Yana group:requested-info DRI: Yana group:stale DRI: Yana type:feature Issues that add a new user feature to the project.

Comments

@prajwolbhandari1
Copy link
Contributor

prajwolbhandari1 commented Jul 2, 2024

User Story (Required on creation)

In one of our use cases we need to get the currently executing jobs. As far as I can tell, it's not available through the job apis. We need to add a query criteria may be as "executing" to query all jobs that are currently executing.

Functional Requirements (Required before implementation)

Add a query criteria to retrieve all executing jobs.

Technical Requirements (Required before implementation)

Add a "executing" query criteria similar to "executable" over here https://docs.camunda.org/manual/7.18/reference/rest/job/get-query/

Pull requests

Preview Give feedback
  1. prajwolbhandari1
@prajwolbhandari1 prajwolbhandari1 added the type:feature Issues that add a new user feature to the project. label Jul 2, 2024
@venetrius
Copy link
Member

Hi @prajwolbhandari1 ,

We have understood your request and will now decide how we continue with your idea.

Cheers,

Gergely

@venetrius venetrius self-assigned this Jul 5, 2024
@prajwolbhandari1
Copy link
Contributor Author

prajwolbhandari1 commented Jul 8, 2024

@venetrius Is it ok if I work on it and open a PR?

I am thinking about something like this in the query for 'executing' query parameter.

select * from act_ru_job where LOCK_EXP_TIME_ is not null and suspension_state_=1 and LOCK_EXP_TIME_ > currenttime

What do you think?

@prajwolbhandari1
Copy link
Contributor Author

@venetrius i have implemented this. PR is coming shortly.

@prajwolbhandari1
Copy link
Contributor Author

@venetrius just opened a PR. Can you please take a look at it? #4494

@venetrius
Copy link
Member

Hi @prajwolbhandari1,
Thanks you for providing a PR, I will review it and will get back to you.

@prajwolbhandari1
Copy link
Contributor Author

prajwolbhandari1 commented Aug 5, 2024 via email

@yanavasileva
Copy link
Member

@venetrius, moving the ticket to Review.

venetrius pushed a commit that referenced this issue Feb 20, 2025
venetrius pushed a commit that referenced this issue Feb 20, 2025
@venetrius venetrius mentioned this issue Feb 20, 2025
@github-actions github-actions bot added the group:stale DRI: Yana label Feb 22, 2025
kayhern pushed a commit to fidelity-contributions/camunda-camunda-bpm-platform that referenced this issue Feb 28, 2025
kayhern pushed a commit to fidelity-contributions/camunda-camunda-bpm-platform that referenced this issue Feb 28, 2025
Copy link

github-actions bot commented Mar 4, 2025

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information to re-open the issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2025
@prajwolbhandari1
Copy link
Contributor Author

prajwolbhandari1 commented Mar 4, 2025

@venetrius not sure why this ticket got closed. Committed a new commit few days ago. Could you please reopen this? Could you also please take a look at it when u get a min?

Thanks for your help.

@tasso94
Copy link
Member

tasso94 commented Mar 11, 2025

Hi @venetrius, could you have a look at @prajwolbhandari1 latest message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group:closed-as-inactive DRI: Yana group:requested-info DRI: Yana group:stale DRI: Yana type:feature Issues that add a new user feature to the project.
Projects
None yet
Development

No branches or pull requests

4 participants