Scheduled Search Trigger returns only 20 records as input to the workflow

Hello,

I’m working on a Scheduled search workflow, the workflow is running fine. In the scheduled search I have 30+ Identities which are being returned. But when the workflow triggers it only has 20 identities as input for the workflow.

here is the workflow:

Scheduled search trigger: $[?(@.searchName in [“AD LastLogin”"])]
I have the report name which I have scheduled as “AD Lastlogin” and once it is run and finished, the workflow triggers but only inputs 20 records,

Thanks

The preview field in the scheduled search trigger will only return the first 20 items. This is by design, as it’s only meant to be a preview of the data. The signedS3Url field will give you a link to a file that has the full result set. However, workflows cannot work with files at this time.

Rather than use scheduled search trigger, you can instead use a “Scheduled Trigger” to mimic the scheduled search trigger. Use “Scheduled Search” for the trigger, then run an HTTP request with the search query you would have used in your scheduled search. This will give you the full result set, and is functionally identical to how scheduled search works.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.