RuntimeServiceDeleteParticipant Method |
Namespace: Advantys.Workflow.Web.Services.Processes.Runtime
Optional Parameters.
These parameters can be used in the query string or as parameters of the Headers object in the RuntimeService class instance. See example below.
ParticipantId (int) | Specifies the Id of the participant to delete. Supercedes the participant name. |
ProcessId (int) | Specifies the Id of the process the participant is linked to. Supercedes a combination of process name and process version. |
ProcessName (string) | Specifies the name of the process the participant is linked. |
ProcessVersion (int) | Specifies the version of the process the participant is linked. |
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService(); RuntimeServiceWebService.ParticipantHeader myParticipantHeader = new RuntimeServiceWebService.ParticipantHeader(); myRuntimeService.ParticipantHeaderValue = myParticipantHeader; myParticipantHeader.ParticipantId = participantId; myParticipantHeader.ProcessId = processId; myRuntimeService.DeleteParticipant(participantName);