Method CallWebServiceUserTask
CallWebServiceUserTask(String, String, String, String, Boolean, Boolean, String)
Call method ProcessUserTask from web service ProcessWebService
Declaration
ProcessUserTaskParameterContract CallWebServiceUserTask(string connectionId, string processId, string webServiceUrl, string currentTaskTemplateId, bool isChangeOfUsersAllowed, bool areOnlyUserGroupsFromAvailableUserGroupsAllowed, string requestType)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | processId | The process id. See also Id |
System.String | webServiceUrl | The url of the web service |
System.String | currentTaskTemplateId | The template id of the current task. |
System.Boolean | isChangeOfUsersAllowed | Specifies whether changing the users is allowed |
System.Boolean | areOnlyUserGroupsFromAvailableUserGroupsAllowed | Specifies whether only user groups from the available user groups are allowed |
System.String | requestType | Optional: The type of the request. Allowed values are "StartProcess", "StartTask", "ForwardTask". Default: |
Returns
Type | Description |
---|---|
ProcessUserTaskParameterContract | An instance of type ProcessUserTaskParameterContract ProcessUserTaskParameterContract that contains information returned from the web service call |
Examples
POST http://YourServerName/InfoShare/Json/Process/CallWebServiceUserTask
Example for call method ProcessUserTask from web service ProcessWebService.{
}
Response:
}
{
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | No process found for processId {processId} (10015) |
ServiceException | Web service returns invalid parameter: {error reason} (10080) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |