hello everyone, in my environment I have a requirement to fullfill in which i have to make a costum “request for others”, so i’m creating a costum form in order to implement it. One of the key requirement is to limit the scope of the identity that I can see in the form, based on two attributes that the identity that is filling the form has. For example if the Identity X has the attribute “A” and “B” equal to “f” and “g” , the form has to display all the identites that has at least one of these attribute equal (so at least A=f or B=g). In the form i see that is possibile to put a search query inside a filter, but i have no idea on how make it and how to access to the attributes of the identities that is filling the form:
Hi @s_tartaglione - Use the following query to get the subset of users attributes.A.exact:"f" OR attributes.B.exact:"g"
The problem here is you need to pass f and g as variables to this form dynamically. One way to do this is have a multi-page form which you process in a workflow. After getting details of the form launcher in form 1, get the identity in the workflow and pass the identity attributes’ values you need (A and B) to the form-2 where you construct this search query. You might want to revisit the documentation to check if variables can be passed to a search query built in a form (or if the whole search query can be passed as a variable).