A/B Testing Workers
We have built 2 workflows that allow for A/B testing workers in your workflow. to A/B test a worker, 2 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 |
---|
A/B with inline task
Try it in Orkes Playground |
---|
Read all about it in the Task To Domain codelab