Forum Discussion

rashmi's avatar
rashmi
New Contributor III
3 years ago

Replacing script with mapper expression

2 Replies

  • bojanvelevski's avatar
    bojanvelevski
    Valued Contributor

    Hi @rashmi,

    Group the ids with a Group By or Gate.
    Once you have all of the Ids in an array, use the following expression in a mapper:

    '(ou_id eq ' + $group.join(' or ou_id eq ') + ')'

    Let me know if this helps,
    Bojan