OSArch Community

Include a value in a tag, if some condition is realized?

  1. T

    Conceptually, is there a way to do this?

    That is, include (or not) a value in a tag, if some condition is realized?

  2. A

    It's not possible now since we no longer execute python code in those but use predefined function mentioned in the selector synax.

    In theory we can add two new functions like equal and condition, so it will be possible to do something like

    condition( equal({{EPset_Status.Status}}, "['EXISTING']"), substr({{EPset_Status.Status}}, 2, 3), "")

Login or Register to reply.