Shares a process with a single group.
Method
GET
URL
https://localhost/Flowtime/_vti_bin/Flowtime/sharedInstancesService.svc/ShareInstanceByGroup
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
workflowInstanceId | integer (long) | required | Workflow instance ID of the process that you want to share. |
groupId | integer | required | Group ID of the group that you want to share the process with. |
includeChildGroups | boolean | optional | Include child groups when you share the process. |
roleInGroupId | integer | optional | Specify a role in the group to share the process with. |
PageSize | integer | optional | Number of records returned on a page. |
PageNum | integer | optional | Number of the page to retrieve records for. |
Example Request
$.ajax({
type: "POST",
url: "_vti_bin/Flowtime/sharedInstancesService.svc/ShareInstanceByGroup",
data: JSON.stringify(
{
workflowInstanceId:123
groupId:724,
includeChildGroups : false,
roleInGroupId:0
}),
headers:
{
"uiculture": "en-GB",
"culture": "en-GB",
"theme": "/Flowtime/Shared Resources/Themes/Sequence8/",
"X-SqXsrfToken":xsrf,
"config": "Portal"
},
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function () {
},
error: function (error) {
console.log(error);
}
});
Response
Void