Hi Jessie,
You can do this using a filter by Entity ID!
Hereโs an example of what the rule would look like:
{
"criteria": {
"contextContainsKey": "$.entityId"
},
"actions": [
{
"actionType": "ADD_FILTER",
"filter": {
"entityId": {
"$eq": "{{$.entityId}}"
}
},
"verticals": [
"loan-officers"
]
}
],
"name": "Filter By Entity ID"
}
On the LO page (where the search bar is initialized at the top), you can call ANSWERS.setContext()
, for example ANSWERS.setContext({entityId: "LO-18219"})
.
Hereโs the full query rules module for further reference: Query Rules | Hitchhikers
Thanks,
Rose