Cora Knowledge Center

Support

POST /SharedInstancesService.svc/SharedInstanceByGroup

Shares a process with a single group.

Method

GET

URL

https://localhost/Flowtime/_vti_bin/Flowtime/sharedInstancesService.svc/ShareInstanceByGroup

Request Parameters

NameTypeRequiredDescription
workflowInstanceIdinteger (long)requiredWorkflow instance ID of the process that you want to share.
groupIdintegerrequiredGroup ID of the group that you want to share the process with.
includeChildGroupsbooleanoptionalInclude child groups when you share the process.
roleInGroupIdintegeroptionalSpecify a role in the group to share the process with.


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