In ProcessMaker, a Data Connector connects your ProcessMaker assets to ProcessMaker Collections and third-party data sources, such as Application Program Interfaces (APIs). After a Data Connector is created, ProcessMaker designers can reference the data source to which the Data Connector connects for their ProcessMaker assets. Below are a few ways to use Data Connectors:
Use a Watcher to act on data from a Data Connector when the value of a ProcessMaker Screen control changes.
A Data Connection contains settings how to call an Endpoint. In this context, an Endpoint refers to any data connection that can perform an action. This includes API endpoints as well as ProcessMaker Collection Endpoints.
Every ProcessMaker Collection has the following Endpoints to perform actions against it. These Endpoints are exposed in a Data Connector automatically when a ProcessMaker Collection is created; that Data Connector has the same name as the ProcessMaker Collection.
Get a list of all records in that ProcessMaker Collection.
Get a record in that ProcessMaker Collection by its record id.
Create a new record in that ProcessMaker Collection.
Delete a record from that ProcessMaker Collection by its record id.
Update a record in that ProcessMaker Collection by its record id.