Skip to main content
Version: 5.4.0

Job

note

You need the admin rights to use this feature.

Jobs allow administrators to manage scheduled backend tasks. Each job links an executor, a backend job handler, and a cron schedule so KAIZEN can trigger the handler automatically.

Before creating a job, make sure that:

  • An executor exists for the backend service.
  • The backend service contains a job handler.
  • You know the job handler ID configured in the @JobHandler annotation.

Manage jobs​

To manage jobs, perform the following:

  1. In the KAIZEN studio console, on the left panel, click Job Scheduler > Job.

    The Job Scheduler/ Job page displays.

    Job
  2. From here, you can create jobs, search for existing jobs, view job details, edit jobs, run jobs, and start jobs. Each row in the table provides the following actions under the Actions column:

    • View: Opens the job details in read-only mode.
    • Edit: Opens the job details for editing.
    • More: Expands a dropdown with additional actions, including Run and Start.
      • Run: Triggers the job once.
      • Start: Registers the job so it runs according to the configured schedule.

    The job table shows the following columns:

    ColumnDescription
    User DomainThe user domain where the job is configured.
    Job NameThe job name shown to administrators.
    ExecutorThe executor that runs the job.
    Job HandlerThe backend job handler ID.
    CronThe cron expression that defines the schedule.
    Validity StartThe date and time when the job becomes active.
    Validity EndThe date and time when the job becomes inactive.
    DescriptionThe job description.
    StatusThe job registration status, such as Registered.
    ActionsActions available for the job.

Search jobs​

To search for jobs, perform the following:

  1. In Job Scheduler/ Job, enter or select the search criteria.

    FieldDescription
    User DomainDisplays the user domain for the current session.
    ExecutorSearch for jobs by executor.
    Job NameSearch for jobs by job name.
    Job HandlerSearch for jobs by job handler ID.
  2. Click Search to find the result.

Create a job​

To create a job, perform the following:

  1. In Job Scheduler/ Job, click Create.

  2. In the Create Job window, provide the details:

    Create job

    The following table describes each field from the window above:

    FieldRequiredDescription
    User DomainYesDisplays the user domain where the job is created.
    Job NameYesEnter the display name of the scheduled job.
    ExecutorYesSelect the executor service responsible for executing the job.
    CronYesEnter the Quartz cron expression that defines the job schedule.
    Validity Start Date/TimeNoSelect when the job becomes active.
    Validity End Date/TimeNoSelect when the job becomes inactive.
    Job HandlerYesEnter the backend job handler ID. This must match the value defined in the @JobHandler annotation.
    Job ParamNoEnter optional parameters to pass to the job handler when the job runs.
    Route StrategyYesSelect the strategy used to route the job to an executor.
    Block StrategyYesSelect the strategy used to handle conflicts when a previous execution is still running.
    Job Timeout PeriodNoEnter the maximum duration, in seconds, that the job is allowed to run before timing out.
    Job DescriptionNoEnter optional remarks or notes for the job.
    Schedule ForecastNoShows predicted upcoming execution times for the configured cron expression.
  3. Click Save.

Route strategies​

StrategyDescription
Round RobinDistributes jobs sequentially to executors across application instances. Use this for high availability setups with multiple instances.
StickyAssigns the job to an executor for consistent handling.
BroadcastExecutes the job on all executors across all application instances simultaneously. Use this when the task must run across every instance.

Block strategies​

StrategyDescription
Serial ExecutionWaits for the current execution to finish before running the next one.
Discard LaterDiscards the incoming execution if the previous execution has not finished.
note

If a job is blocked and cannot complete, the Job Timeout Period controls when KAIZEN terminates the job.

Preview the schedule​

To preview the schedule, perform the following:

  1. In the Create or Edit Job window, turn on Schedule Forecast.

  2. Select the number of upcoming execution times to display.

  3. Click Refresh.

Preview schedule

Run or start a job​

Administrators can run a job once or start a job according to its configured schedule.

To run or start a job, perform the following:

  1. In Job Scheduler > Job, select the job.

  2. Click More, then select one of the following actions:

    ActionDescription
    RunTriggers the job once.
    StartRegisters the job so it runs according to the configured schedule.

After a job is started, its status changes to Registered.

Last updated on 19 Oct 2026