Why the function Reminders Search is not working

Into a Workflow, I’m trying to use the “Reminders search” function, but it always returns total = 0 , even though the reminder was created successfully.

I’m currently using:

  • resource = “approvals”
  • assignedTo = recordApprovalTask.ownedBy
  • excludeDismissed = true
  • scheduledOnly = false

The reminder itself is created with the same resource and assignedTo values.

This Workflow is triggered by a System - Interval event.

Am I missing something in how Reminders search works, or is there any restriction regarding assignedTo or the execution user?

Reminder search only ever returned reminders assigned to the user the workflow runs as (the service user, for an Interval trigger), and total was never being filled in at all. Both are
fixed for the next release(2024.9.10; planned to release this week). Search now returns other users’ reminders for anyone with the “Assign reminders” permission, and the search/iterate steps get a new Include total option (until then, length(results.reminders) gives you the count).

1 Like

Thank for the response, as always excellent. This will be a great functionality for sure. Looking forward to get the next upgrade :slight_smile:

1 Like