RuntimeServiceGetParticipant 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 get. 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 to. |
ProcessVersion (int) | Specifies the version of the process the participant is linked to. |
<Participant> <Name /> <Type /> <Associations /> </Participant>
<Participant> <ID /> <Name /> <Description /> <Type /> <!-- HUMAN, ROLE, COORDINATOR --> <Scope /> <!-- GLOBAL, PROCESS --> <Associations /> <Process /> <Role /> <!-- REQUESTER, ACTOR, SUPERVISOR --> <ViewGraphics /> <!-- Y, N --> <ReassignAction /> <!-- Y, N --> <CancelRequest /> <!-- Y, N --> <ViewStatistics /> <!-- Y, N --> <CommentsPermissions /> <!-- R, RW --> <DatasourceQuery /> </Participant>
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService(); RuntimeServiceWebService.ParticipantHeader myParticipantHeader = new RuntimeServiceWebService.ParticipantHeader(); myRuntimeService.ParticipantHeaderValue = myParticipantHeader; myParticipantHeader.ParticipantId = participantId; myParticipantHeader.ProcessId = processId; string myParticipantDefinition = myRuntimeService.GetParticipant(participantName, null);