Bizagi features an OData service which handles aspects of the Experience design.
Through the Processes/Cases URI, you may handle cases data related to the pending activities of a user (not stakeholder), as described at Cases from processes data.
This section describes how to query the list of activities of a given case.
Start off from the following URL:
•[ID_process]: The GUID of a specific process as returned when invoking the Cases from processes data.
•[ID_case]: The GUID of a specific case as returned when invoking the Cases from processes data.
•[your_bizagi_project_url]: Corresponds to the URL where end users access the Bizagi Work portal.
For instance for an on-premise Bizagi project, such URL would be:
While for Bizagi PaaS projects, such URL would be:
The following image illustrates how you can send an HTTP GET for this resource:
Returned results consider (inside of the value element):
•id: The internal identifier (integer) for the workitem (typically an activity or event instance).
•taskName: The name (string) of the workitem.
•state: The state of the workitem in terms of: red(overdue/expired), yellow(at risk), or green(on-time).
•SolutionDate: The estimated solution date for that case, as given by the process' SLA.
•@odata.id: The unique URL to access that specific workitem.
•Parameters: The list of data (attributes) and its values, that such workitem uses.
Such parameters include for each attribute:
oXpath: The full Xpath to that attribute (includes its name).
oValue: The value held for that case in such Xpath.
oType: The type of data of the attribute. For a list of possible values regarding data types in Bizagi, refer to Types of data.
oId: The identifier for that specific Xpath.
Notice how through the @odata.id property, you can obtain that specific record's detail only, instead of a full list.
For example using:
For a given workitem, you may send out parameters in order to complete it (as if clicking Next in the Work portal for that activity or event).
For more information about how to continue to complete workitems, refer to Activities from processes completion data.