Expression Language
Create calculated attributes, define conditions, and transform data using ProcessMind's expression language.
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.
Returns the timestamp of the most recent data upload or update.
| Returns | date |
| Examples | lastDataUpdate() → Timestamp of last update |
Returns the timestamp of the last event in the dataset.
| Returns | date |
| Examples | lastDateInData() → Timestamp of the last event in the data |
Returns the dataset's display name.
| Returns | string |
| Examples | datasetName() → Sales Orders |
Returns the total number of rows, or events, in the dataset.
| Returns | number |
| Examples | datasetRows() → 15000 |
Returns the number of days since the last data update.
| Returns | number |
| Examples | dataFreshnessDays() → 3 |
Returns the original file name of the uploaded data.
| Returns | string |
| Examples | dataFileName() → orders_2024.csv |
Returns the uploaded data file size in bytes.
| Returns | number |
| Examples | dataFileSize() → 1048576 |
Returns the detected file format of the uploaded data.
| Returns | string |
| Examples | dataFileFormat() → csv |
Returns the name of the automatically detected business process type.
| Returns | string |
| Examples | detectedProcess() → Order to Cash |
Returns the column name detected as the case identifier.
| Returns | string |
| Examples | detectedCaseId() → Order Number |
Returns the column name detected as the event timestamp.
| Returns | string |
| Examples | detectedTimestamp() → Event Time |
Returns the column name detected as the activity name.
| Returns | string |
| Examples | detectedActivity() → Activity |
We use cookies to improve your experience, personalize content, and analyze traffic. By clicking "Accept All," you consent to our use of cookies.