šµ Filter sales representatives based on contact type.
1. Overview
This Interaction is designed to filter the sales representatives to only display those contacts whose contact type is sales.
2. Example
The example below filters the results based on the sales representative ID defined in the value field.
async function handler(C) {
let actions = [];
actions.push(
C.setFilters("1662670-sales-rep", [
{
subject: "17277",
type: "array",
operator: "any_of",
ignoreCase: true,
value: ["1710924"], //Type = Sales Rep Id
},
])
);
return C.mergeAll(actions);
}š Need Help?
