📁Data Objects
The workflow builder makes it easy to interface with objects to save new data and access existing data
The workflow builder makes it simple to work with objects during your workflows. Objects are synced to the device based on rules that you define within components that interface with objects.
Explicit Actions
Objects within the builder require the user to define specific actions for how that object will be used within the workflows.
Single Object
Create Object
Get Object
Update Object
The action is selected on the object within the builder where you're implementing the object. Depending on the action selected, you will have access to specific inputs and outputs for the object.

Single Object
Working with a single object is the most simplistic way to interface with objects during a workflow. With a single object, you cannot bring in existing data into a workflow, rather you can create one new instance of an object per object in the workflow that is marked as Single Object.
The new instance of the object will be created when the workflow starts. During the workflow you may update any of the values anytime during the workflow. The platform will then output the values each time inputs are submitted as a passthrough.

Create Object
In cases where you need to create multiple of the same object during a workflow, you may use the Create Object action. To create an object you may pass any data type to the green input directly under the Object action selection.
If you want to save values to the object while it's being created, you must send the inputs in the same batch as the input that will create the object.
Refer to the how data flows page for information on input batches
How Data Flows
Get Object
If you need to access data that is contained in an existing object, you may get the instance of that object during the workflow by passing the instance of the objects unique id to the object with the Get Object action selected.
You may get the unique ID of the object you want using one of several components design to do just this
Below is a link to the UI component that allows you to get existing object
Get Existing ObjectGet Existing Object (non-ui)
Update Object
If you want to update values of fields on a specific object, you may use the Update Object action. Similarly to Get Object, you must pass the unique id of the object that you want to update at the same time as the updated values.

Last updated