-
Notifications
You must be signed in to change notification settings - Fork 230
Example: Bulk Approvals
Nolan Ehrstrom edited this page Feb 5, 2020
·
14 revisions
- Install package-data-sources
- Generate a token for admin user
- Create a new data source. Set auth to 'bearer token' and set the token from above.
- Add a new list endpoint GET:
http://pm.local.processmaker.com/api/1.0/tasks?&include=data&pmql=(request%20%3D%20%22Application%22)%20AND%20(task%20%3D%20%22Approval%22)%20AND%20(status%20%3D%20%22In%20Progress%22)
- Replace
http://pm.local.processmaker.com
above with your PM4 server.
- Replace
- Import these 2 processes. Leave all assignments to defaults:
- Edit 'Bulk Approval' process.
- Add a 'data connector' node between 'start event' and 'bulk approve form'
- In the Configuration, set the Data Connector to the one you created above
- In Data Mapping, set a Form Data key 'tasks' with a value 'data'