On This Page

Dataset Functions

Functions that return metadata and statistics about the current dataset, such as the dataset name, row count, file information, and auto-detected column mappings.

These functions describe the dataset itself rather than individual events, so ProcessMind resolves them while it evaluates the expression in the app, for example in the Expression Editor preview. They are not available in the dataset processing pipeline, which translates expressions into database queries: a calculated attribute or dataset filter that uses one of them fails to process. You can try them in the Expression Editor with a free trial.

lastDataUpdate

()

Returns the timestamp of the most recent data upload or update.

Returns date
Examples
lastDataUpdate() → Timestamp of last update

lastDateInData

()

Returns the timestamp of the last event in the dataset.

Returns date
Examples
lastDateInData() → Timestamp of the last event in the data

datasetName

()

Returns the dataset's display name.

Returns string
Examples
datasetName() → Sales Orders

datasetRows

()

Returns the total number of rows (events) in the dataset.

Returns number
Examples
datasetRows() → 15000

dataFreshnessDays

()

Returns the number of days since the last data update.

Returns number
Examples
dataFreshnessDays() → 3

dataFileName

()

Returns the original file name of the uploaded data.

Returns string
Examples
dataFileName() → orders_2024.csv

dataFileSize

()

Returns the size of the uploaded data file in bytes.

Returns number
Examples
dataFileSize() → 1048576

dataFileFormat

()

Returns the detected format of the uploaded data file.

Returns string
Examples
dataFileFormat() → csv

detectedProcess

()

Returns the name of the automatically detected business process type.

Returns string
Examples
detectedProcess() → Order to Cash

detectedCaseId

()

Returns the column name detected as the case identifier.

Returns string
Examples
detectedCaseId() → Order Number

detectedTimestamp

()

Returns the column name detected as the event timestamp.

Returns string
Examples
detectedTimestamp() → Event Time

detectedActivity

()

Returns the column name detected as the activity name.

Returns string
Examples
detectedActivity() → Activity

Design better processes. Build a connected architecture. Stay in control.

Get instant access with no credit card and no waiting. Turn the way your organization works into clear, connected process designs.

Build your process architecture, define ownership and controls, and align roles and responsibilities across every level.

Start your free trial and create one reliable foundation for governing, managing, and continuously improving your processes.