Skip to main content

Build a query for a Ripple

Create the query that decides who a Ripple runs for and when it starts.

J
Written by Joshua Shooter

A Ripple query tells the system who the Ripple is for and when it runs. If you can't define this in a query, you can't automate the workflow.

Aim for a query that shows an employee only on the day the Ripple needs to start. For example, for a Ripple that starts on an employee's first day, filter Start Date to Today. On their first day, the employee shows in the query and the Ripple starts for them.

To open the query builder:

  1. Click Access Button, then click HR Admin.

  2. Click Queries, then click the + icon to open the query builder.

  3. Work through the Selected Areas, Filters & Options and Name & Description tabs.

📌 Note: For help creating a query, see Create a query.


Choose the fields

On the Selected Areas tab, add only the fields you will filter on to start the Ripple. Common fields include:

Field

Used for

Start Date

New starter or length of service alerts

Employee Created Date

Onboarding workflows

Probation End Date

Probation review notifications

Leaver Marked Date

Leaver alerts

Sick Start Date or Sick End Date

Sickness alerts

Annual Leave Start Date

Annual emails

Logbook Signature_SignDtm

Logbook follow-up notifications

Valid To or Expiry Date fields

Expiry alerts

Employment Type

Excluding a group of employees

Department

Excluding a group of employees

Click Next to go to the Filters & Options tab.


Set when the Ripple runs

On the Filters & Options tab, set filters so the employee shows in the query at exactly the right time. Most Ripples filter on a date. You can also filter on areas such as logbook fields, job role or employment type to target a group.

These filters show the employee in the query for one day only, the day the Ripple starts:

  • Today

  • X Days Before

  • X Days After

For Ripples that run on the anniversary of a date, use these filters:

  • Days Before Anniversary

  • Days After Anniversary

For example, use them for birthday alerts with the Date of Birth field, or length of service alerts with the Start Date field. To start the Ripple on the anniversary itself, enter 0.


Allow for late updates

Ideally, the employee only shows in the query on the day the Ripple runs. If you can't be sure they will be added to the system in time, use Next X Days or Last X Days instead.

For example, for a Ripple that starts 2 weeks before an employee's start date:

Filter

What happens

X Days Before = 14

The employee is in the query for 1 day only. If they are added less than 14 days before they start, they miss it and the Ripple doesn't start.

Next X Days = 14

The employee is in the query every day for the 2 weeks before they start. If they are added late, the Ripple still starts, just later.

📌 Note: This doesn't suit every process. Some work to an exact time frame, such as a probation process that uses Wait steps to count down to the Probation End Date.


Common filter examples

These field and filter combinations are often used:

Field

Filter

Used for

Start Date

X Days Before Anniversary

An annual process, such as a length of service alert

Employee Created Date

Today

Onboarding workflows that start straight away

Probation End Date

X Days Before

Notifying managers before the review date

Leaver Marked Date

Today

Leaver processes that start as soon as a leaver is marked

📌 Note: For more help with filters, see Use filters in queries.


Name and save your query

On the Name & Description tab, start the query name with Z Ripple – followed by the workflow title. This keeps your Ripple queries together at the bottom of the query list. Then assign the Ripple category to make them easier to find.

Click Save to see your results. Few or no rows is a good sign, as anyone who shows in the query starts the workflow when the Ripple goes live. If the query shows too much data, check your filters.

🤓 Tip: If your query shows no data, use a test employee. Change their data so they enter the query, then check they show in the results.

Did this answer your question?