Work with Data Objects
Data objects are the variables used to store the information used by your business processes. They’re defined during the design and implementation stage of a process. To complete a process application, you must ensure that you have associated each activity with the data objects it requires.
At runtime, data objects contain information that might be altered as users interact with your business process. Running processes can store, access, and manipulate data. The values stored within a data object can also be used to determine the branch that a process takes.
Oracle Cloud Infrastructure Process Automation supports data objects that are based on generally simple data types. However, complex business objects can be created indirectly, by either creating a form or importing a JSON schema/sample in a connector. Which type of data type you base your data object on depends on the type of data it must handle.
Create a Data Object
You can create a data object based on a simple data object type or on a business object (complex data type). If you’re creating a data object on a business object, you must create the business object first.
- Open a process, and then click Data
.
- In the Data pane, click Create Data Object
.
- In the resulting Create Data Object pane, enter a name for your data object or use the default name in the Name field.
- Under Data Type , select Simple to create a simple data object, or select Business to create a data object based on a business object.
- Click Create.
Note:
A default process data object with the nameTaskOutcomeDataObject
is automatically created for the human task outcome when a human task is created. The Edit and Delete links are disabled for this data object.
Edit or Delete a Data Object
You can edit or delete data objects.
After editing a data object, you must ensure that all references to it are still valid. For example, if you change a data object type from an integer to a string, you must verify that all of the expressions that use the data object still function correctly. If they don’t function correctly, the application doesn’t validate.
After deleting a data object, you must ensure that all references to it are removed. This includes any data associations and expressions that use the data object. If you don’t remove references to the deleted data object, the application doesn’t validate.