Skip to main content

A/B Testing Workers

We have built two workflows to enable A/B testing of workers in your workflow. To A/B test a worker, two versions of the worker must be running. Using task to domain, traffic can be divided between the workers as desired. Both examples use JavaScript to generate a random number that decides which task to run. The SWITCH task version is easier to visualize, whereas the INLINE task is faster to implement.

A/B with switch task

Try it in Orkes Playground
Switch task AB testing

A/B with inline task

Try it in Orkes Playground
Inline task AB testing

Have a look at our Task To Domain codelab to know more about this!