Bizagi features an OData service which handles aspects of the Experience design.
Through the Stuff URI, you may handle data regarding the My stuff section for the currently logged on Stakeholder, and you may also part from there to browse actions of records, as described at My Stuff's actions data.
This section describes how to execute a given action from data in My Stuff.
Start off from the following URL:
•[your_company]: The name of your company.
•[your_project]: The name of your Bizagi project. Recall that for environments other than the production environment, the project includes a suffix referencing the given environment.
•[GUID]: The GUID of a specific collection of My stuff as returned when invoking the My Stuff's actions data.
•[value_ID]: The ID of a specific record, as returned when obtaining the My Stuff's actions data.
•[action_ID]: The ID of a specific action, as returned when obtaining the My Stuff's actions data.
To trigger an action which starts a new case, the URL described above is invoked by means of an HTTP POST.
Consider including the following JSON structure to send parameters in the body:
•[xpath_name]: The exact xpath as expected by parameters of that process' triggering action.
•[xpath_datatype]: The data type for that xpath as expected by each parameter..
•[value_for_xpath]: The value you want to set to such xpath parameter.
Notice if you have more than 1 parameter, you would use:
Similarly, if no parameters are expected, you would use:
To filter the search with parameters, consider the notes for the different data types, as described at Values and formats for data types.
The following image illustrates data in the body you can send in an HTTP POST and the response you obtain indicating the case number of the created case (at the returned value):
Notice this other image shows a previous invocation regarding parameters that the action expects (as you would need to send the exact data type and matching xpath information):