Task Data
Task Data contains data fields related to task like:- Task created date
- Task updated date
- Details of the User to whom the task is assigned
- Details of the Team to which the task is assigned
- Task Scheduled Time
- Task Status
loggedInUser Data
loggedInUser data contains data fields related to user and team the task is assigned to:- Role the user belongs to
- Team the user belongs to
- User Name
- User phone number
- Location of the User
Usage of Data Fields
Data fields can be used for multiple purposes:- Bind Data field to a component
- Use Data field in Conditions
- Use Data field in Action
Bind Data field to a component
we can bind a data field to any read only components. Here’s how to do it.- Go to app builder by clicking any screen
- Drag and drop any component on the screen and click the component.
- You will see options to configure component in the right side of the screen
- You can click the data field icon on any fields like label, subtext etc..
- Data field modal will popup where you can select data fields according to your need
Use Data field in Condition
Conditions are used to stop a certain action or transition based on the user configured checks. Currently we can configure two conditions in ERPLite:- Location Check
- Expression Check
Use Data field in Action
In ERPLite we can define actions to execute after a particular transition. We can configure three actions to perform after a transition:- Push Notification
- API Action
- update Data Field
For AI Agents
System Data Fields Reference
Accessing System Fields
Available System Fields
| Path | Type | Description |
|---|---|---|
task.taskId | string | Unique task identifier |
task.status | string | Current task status |
task.createdAt | date | Task creation timestamp |
task.updatedAt | date | Last update timestamp |
task.scheduledTime | date | Scheduled execution time |
task.assignedTo.userId | string | Assigned user ID |
task.assignedTo.name | string | Assigned user name |
task.assignedTeam.teamId | string | Assigned team ID |
loggedInUser.userId | string | Current user ID |
loggedInUser.name | string | Current user name |
loggedInUser.role | string | Current user role |
loggedInUser.location | object | Current GPS location |