Step 9 of 21 · 3 minutes

Finding the Needle

The Scenario

Customer support asks: "John Smith says his credit card application is stuck." With 100,000 jobs in the system, scrolling through pages isn't practical.

We need a way to find specific jobs instantly.

The Challenge

With thousands of jobs, how do we find a specific customer's job instantly?

The Solution

Add labels to your jobs for powerful filtering:


jobScheduler.create(aJob()
    .withLabels("customer: john.smith@email.com", "card: AMEX")
    .withDetails(() -> createCreditCard(card)));

// or via the @Job annotation
@Job(labels = "{"customer: %0", "card: %1"}")

Labels appear in the dashboard and can be used for:
  • Filtering jobs by customer, card type, region, etc.
  • Building dynamic queues based on labels
  • Finding specific jobs via search

Read the documentation →

Try It Yourself

Register several credit cards with different emails and card types. Then use the dashboard's label filter to find specific customers instantly!
You need to log in to perform write operations. You can still view the code solution and dashboard.