A new array function has been added to the automation rules. The detect function returns the first item in an array that matches the condition. It is similar to the select function, when that is used to retrieve the first record of the collection. As an example, the following two expressions retrieve the same task record:
tasks.select(status = registered)[first]
tasks.detect(status = registered)
Using the detect function over the select function where possible will make expressions shorter and easier to read.

Xurrent named a Market Leader in Research In Action’s Vendor Selection Matrix™ for IT & Enterprise Service Management Solutions
Xurrent earns #1 rankings in customer satisfaction, price vs value, and recommendation index in Research In Action's global ITSM/ESM Vendor Selection Matrix report.
7 Min Read
June 13, 2025
Service Management
News
Press Release
Performance
Enterprise

Incident Management
Security And Privacy
Risk Management
Cloud Computing
Enterprise

