RE: NetSuite: How to Build a Saved Search That Returns Only First-Time Event Attendance (Workflow Input Needed)

I’m hoping someone can point me in the right direction with a workflow/saved search problem. I apologize for the long explanation, but I want to clearly outline the challenge, and I’d be very grateful for any suggestions.

Goal

I have a daily workflow to check a checkbox on a Seminar Attendance (SA) custom record that identifies when a customer attends an event for the first time for a given event-type. We will use this flag for analytics around customer entry points and “first touch” events.

The Challenge

We have several million SA records going back to the early 2000s. Customers may attend the same event-type many times.

Example: a customer attended Event A 8 times over 10+ years, and then attends it again recently. When their 9th SA record is created, the workflow must determine whether this is their first Event A or not.

I need a way for the saved search (triggering the workflow) to return only those SA records where the customer is attending that event-type for the first time.

What I’ve Tried

  • If I let the search look across all time, the dataset becomes enormous and slow.
  • If I filter by event date (e.g., only events from 2025), the search can’t look backward to detect whether the customer attended the same event-type before 2025.
  • I can get the earliest attendance using a MINIMUM(Event Date) summary result grouped by Customer + Event Type — but workflows can’t use summary-type results because they’re not stored on the record.

Sticking Point

I have not found a way to make a saved search return only the SA records that represent a customer’s first-ever attendance for that event-type, without relying on summary results.

Question

How can I build a saved search that only returns first-time attendance records (per event-type per customer) so a daily workflow can check a flag on those SA records?

Has anyone solved something similar at scale?

If you read this far, thank you.
Stephen

StephenO Rookie Asked on November 21, 2025 in Saved Searches.
Add Comment
3 Answers

I’ve tried this out several ways and from @mmfranklin75 instructions, I run across the following block.

Section 1
Results:

  • Customer – Group
  • Event Type – Group
  • Internal ID – Minimum

The non-stored custom field, presents an error in each SA record:
“ERROR: Field value cannot be derived from search with Group summary type.”

RE: NetSuite: How to Build a Saved Search That Returns Only First-Time Event Attendance (Workflow Input Needed)

In the saved search,
when I remove the two ‘grouped’ results, and leave the ‘minimum’ result,
I do get an ID showing in customer’s SA records, but it is the same ID in all SA records.

The second thing I don’t get is,
when editing the custom field, Validation & Defaulting, Search,
how can I “Map the summary search filters to the current record.”

Section 2
Map the summary search filters to the current record:

  • Customer filter → SA.Customer field
  • Event Type filter → SA.Event Type field

I can select the saved search, and then one compare-to …

RE: NetSuite: How to Build a Saved Search That Returns Only First-Time Event Attendance (Workflow Input Needed)

Cheers.

Rookie Answered on November 27, 2025.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.