Ability to pass a user-defined variable to an Arcade expression

Idea created by DTreering@invenergyllc.com_invenergyllc on Aug 12, 2019
    • m.dufour_smaag
    • Katherine.Campbell_ocfl
    • Sophie_Humphry
    • kbusby
    • xander_bakker
    • skiley
    • DTreering@invenergyllc.com_invenergyllc

    I'd like to be able to use filters on my related table results, based on their own attributes.  For instance, Sample Sites feature has Samples as a related 1:M table.  I want a user to filter for sample results of an arbitrary value and return those records from the related Samples table.  Basically, I want a global variable that is assigned outside the Arcade expression.