Cases from Work portal

<< Click to Display Table of Contents >>

Navigation:  Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Bizagi from external applications > Bizagi API > OData RESTful services > Bizagi API examples > Data services examples >

Cases from Work portal

Overview

Bizagi features an OData service which handles aspects of the Experience design, as described at Data services.

Through the cases URI, you can fetch pending cases for an authenticated user, as shown in the Inbox via the Work portal.

 

note_pin

This resource is available for all users, not just Personas.

 

Resource URL

Start with the following URL:

[your_bizagi_project_url]/odata/data/cases

 

Customizations:

[your_bizagi_project_url]: The URL where end users access your Bizagi Work portal.

For Automation Service projects, the URL would be:

https://[project_environment]-[your_project]-[your_company].bizagi.com/odata/data/cases

 

Example

The following image illustrates how you can send an HTTP GET for this resource:

 

OData_Allcases

 

Returned results include (inside the value element):

idCase: The internal case number (integer) used by Bizagi.

caseNumber: The case identifier (string) as customized in the project and shown to end users in the Work portal.

SolutionDate: The estimated solution date for that case, as given by the process' SLA.

CreationDate: The date when the case was started.

@odata.id: The unique URL to access the case.

Parameters: The list of data (attributes) and their values, that the case has.

The parameters include for each attribute:

oXpath: The full Xpath to that attribute (includes its name).

oValue: The value held for that case in the Xpath.

 

note_pin

Every set of results returned by the OData services includes a set of standard properties which are preceded by the @ sign. These properties are described at Properties and querying options.

 

Through the @odata.id property, you can obtain a specific record's detail only, instead of a full list.

For example, use:

[your_bizagi_project_url]/odata/data/cases([ID_case])

 

OData_Workportal6

 

note_pin

To promote best performance, images or uploads in cases are not returned directly by this service.

Instead, the service provides a URL you can use to review and upload attachments separately.

To learn more about this option, refer to URLs for Images and Uploads.

 

You can navigate into current workitems (activities or events) available for the case.

For example, use:

[your_bizagi_project_url]/odata/data/cases([ID_case])/workitems

 

For more information about how to work with workitems for a case, refer to Activities from Work portal cases.

 

Customizing the returned attributes

if you want to filter or completely change the set of attributes which return information for this invocation, refer to Setting which business information is returned.


Last Updated 12/28/2022 4:34:04 PM