Skip to content

Conversation

@earlduque
Copy link
Contributor

This Flow Action uses a GlideAggregate query to count records from a specified table based on input conditions, then returns the result as an integer output. It accepts a table name and an encoded query string, executes the count, and makes the value available for use in downstream flow logic.

This utility is useful because many flows need to make decisions or trigger actions depending on whether records exist or how many meet a condition. By packaging this into a reusable action, it eliminates the need for repetitive scripting, reduces errors, and gives builders a straightforward way to incorporate record counts into their automation.

closes #4

…specified table based on input conditions, then returns the result as an integer output. It accepts a table name and an encoded query string, executes the count, and makes the value available for use in downstream flow logic.

This utility is useful because many flows need to make decisions or trigger actions depending on whether records exist or how many meet a condition. By packaging this into a reusable action, it eliminates the need for repetitive scripting, reduces errors, and gives builders a straightforward way to incorporate record counts into their automation.
@niamccash niamccash self-assigned this Sep 30, 2025
@niamccash niamccash merged commit 8d6a8e3 into ServiceNowDevProgram:main Sep 30, 2025
2 checks passed
@niamccash
Copy link
Contributor

Good job, Earl! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Create an action to get a GlideAggregate Count

2 participants