ManualWorkflowSchedulerService.RunWorkflow(Guid) Méthode

Définition

Exécute l’instance de workflow spécifiée.

public:
 bool RunWorkflow(Guid workflowInstanceId);
public bool RunWorkflow(Guid workflowInstanceId);
member this.RunWorkflow : Guid -> bool
Public Function RunWorkflow (workflowInstanceId As Guid) As Boolean

Paramètres

workflowInstanceId
Guid

Instance Guid de flux de travail à exécuter.

Retours

true si le flux de travail commence à s’exécuter ; sinon, false.

Exceptions

workflowInstanceId est un GUID vide.

Remarques

Il s’agit d’un appel synchrone qui utilise le thread actuel pour exécuter le flux de travail. Elle ne retourne pas tant que le flux de travail n’est pas inactif, suspend, termine, arrête ou abandonne.

S’applique à