Skip to main content
Question

Is it possible to get the worker id in an expression? Or make it available during processing?

  • March 11, 2025
  • 1 reply
  • 24 views

Erin Sweeney
Forum|alt.badge.img

Is it possible to get the worker id in an expression? Or somehow make it available during pipeline processing?

1 reply

You can get the Worker ID through the CRIBL_WORKER_ID environment variable. In your JavaScript expression, you can obtain this value by using this syntax: C.env.CRIBL_WORKER_ID