Method DeleteProcessTemplate
DeleteProcessTemplate(String, String)
Delete a process template
Declaration
void DeleteProcessTemplate(string connectionId, string processTemplateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | processTemplateId | The process template id. See also Id |
Examples
POST http://YourServerName/InfoShare/Json/Common/DeleteProcessTemplate
Example for delete a process template.{
"connectionId": "e08482f2-eb69-4693-b2c1-cdc87f641ec2",
"processTemplateId": "b1f17894-f4e0-e911-a94b-00155d290a08"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Cannot delete ProcessTemplate as long as processes with this ProcessTemplate still exists. (10210) |
ServiceException | Can not delete {ObjectType} {ObjectName} {ObjectId} because it is still in use in {ObjectType} {ObjectName} {ObjectId}. (10233) |