KnotKnick
11/14/2019, 10:25 PMfilter
is not working properly and I am not getting only the records that match the criteria. Can anyone see something that I can't catch?
function afterSubmit(context){
var recId = context.newRecord.id;
var recordSearchObj = search.create({
type: "customrecord_abc_integration_rec",
filters:
[
["custrecord_abc_internal_id", "anyof", recId]
],
columns:
[
search.createColumn({
name: "name",
sort: search.Sort.ASC,
label: "Name"
}),
search.createColumn({name: "custrecord_date_modified", label: "Date Modified"}),
search.createColumn({name: "internalid", label: "Internal ID"})
]
});
}