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

Filter Processes with exception and retries left #4903

Open
1 task
PHWaechtler opened this issue Jan 23, 2025 · 0 comments
Open
1 task

Filter Processes with exception and retries left #4903

PHWaechtler opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels
potential:7.23.0 scope:cockpit Changes to the Cockpit webapp. scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project.

Comments

@PHWaechtler
Copy link
Contributor

PHWaechtler commented Jan 23, 2025

User Story (Required on creation)

Context

  • If a job can not be executed successfully, it is retried according to the configured retry configuration
  • If all retries are not successful, an incident is created
  • See also this support ticket for more context

Problem

  • Get informed early about failing jobs to avoid wasting too much time before all retries are used up and an incident is created.
  • Currently, there is not an easy option to find all jobs "retrying"
  • Manual retry is requested over automatic retry mechanism because:
    • Jobs are used to connect to external systems. The availability of these systems may vary, so long retry cycles (longer than 48 hours) can avoid incidents if the system becomes available again during the long retry cycles.
    • To get an early warning indication and proactively address system availability, transparency for retries is needed.
    • Restarting processes in an incident state takes more effort than managing to make an external system available again during the retry state

User Journey

  • Access process instance search in cockpit
  • Select "Process Instance: with jobs retrying"
  • Receive result including all instances which are associated with jobs which have exceptions and retries left
  • As detailed here, the operator may then decide to drill down to these jobs and manually retry them
  • When the search criteria is not selected, the exception and retry state of jobs has no influence on the search result

Functional Requirements (Required before implementation)

Users can search for process instances which have jobs that have run into exceptions and have retries left

Technical Requirements (Required before implementation)

  • New search criteria with UI name "Process Instance: with jobs retrying" for EN and "Prozessinstanz: Jobs werden aktuell erneut ausgeführt" for DE
  • search criteria translates to combined SQL query in BE: jobs with exceptions and retries left
  • search criteria either exists on the query (true) or is not added to the query (null). It is not possible to apply this criteria as a "not" (ie no option for "instances without jobs with exceptions and retries left)
  • criteria exists in queries used for API used from cockpit instance search and java API
  • query field is documented in openAPI

Limitations of Scope

  • Users have to proactively search for instances with exceptions/retries left
  • Manual retry of instances as requested in SUPPORT-18985 out of scope
    • Workaround suggested here

Hints

Links

Breakdown

Pull Requests

Preview Give feedback
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

Dev2QA handover
Functionality is to be tested as discussed in kickoff, ensuring new query search criteria returns correct result.

@PHWaechtler PHWaechtler added the type:feature Issues that add a new user feature to the project. label Jan 23, 2025
@PHWaechtler PHWaechtler self-assigned this Jan 23, 2025
@PHWaechtler PHWaechtler added scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI scope:cockpit Changes to the Cockpit webapp. potential:7.23.0 labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
potential:7.23.0 scope:cockpit Changes to the Cockpit webapp. scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project.
Projects
None yet
Development

No branches or pull requests

1 participant