AWX: Conditionally choose a workflow branch

Hello Everyone,

I am using AWX 17.1
I have a workflow with multiple branches of job templates. Is there a way to conditionally choose a job template based on a variable value?
Something like If
var = a, run Job Template A
var = b, run Job Template b

I do not prefer to use “on failure” way in workflow because it marks the entire workflow status as failed regardless of the status of successfully executed branches in the workflow.

Thanks
Mani.