LPS-36548 Move workflow comparators definition to kernel