@workflow
def my_wf(a: int, b: str) -> (int, str):
    (x, y) = t1(a=a)
    d = conditional('test1').if_((x == 4)).then(t2(a=b)).elif_((x >= 5)).then(t2(a=y)).else_().fail('All Branches failed')
    return (x, d)
@workflow
def my_wf(a: int, b: str) -> (int, str):
    (x, y) = t1(a=a)
    d = conditional('test1').if_((x == 4)).then(t2(a=b)).elif_((x >= 5)).then(t2(a=y)).else_().fail('All Branches failed')
    return (x, d)