Click or drag to resize

RuntimeServiceDeleteParticipant Method

Deletes a participant.

Namespace:  Advantys.Workflow.Web.Services.Processes.Runtime
Assembly:  Advantys.Workflow.Web.Services.Processes.Runtime (in Advantys.Workflow.Web.Services.Processes.Runtime.dll) Version: 7.13.0.36308 (7.13.0.201810032)
Syntax
public void DeleteParticipant(
	string participantName
)

Parameters

participantName
Type: SystemString
Remarks
Available since WorkflowGen version: 6.2.0

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.
Sample code:
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService();
RuntimeServiceWebService.ParticipantHeader myParticipantHeader = new RuntimeServiceWebService.ParticipantHeader();
myRuntimeService.ParticipantHeaderValue = myParticipantHeader;

myParticipantHeader.ParticipantId = participantId;
myParticipantHeader.ProcessId = processId;

myRuntimeService.DeleteParticipant(participantName);

See Also