Exemplo n.º 1
0
 /// <summary>
 /// Resolve a task and update execution variables.
 /// </summary>
 public Task Resolve(CompleteTask completeTask) => _api.ResolveTask(_taskId, completeTask);
Exemplo n.º 2
0
 /// <summary>
 /// Complete a task and update process variables.
 /// </summary>
 public Task Complete(CompleteTask completeTask) => _api.CompleteTask(_taskId, completeTask);
 /// <summary>
 /// Complete a task and update process variables, retrieving variables in response
 /// </summary>
 public Task <Dictionary <string, VariableValue> > CompleteAndFetchVariables(CompleteTask completeTask) => _api.CompleteTaskAndFetchVariables(_taskId, completeTask);
Exemplo n.º 4
0
 /// <summary>
 /// Complete a task and update process variables using a form submit.
 /// </summary>
 /// <remarks>
 ///  * If the task is in state PENDING - ie. has been delegated before, it is not completed but resolved. Otherwise it will be completed.
 ///  * If the task has Form Field Metadata defined, the process engine will perform backend validation for any form fields which have validators defined.
 /// </remarks>
 public Task SubmitForm(CompleteTask completeTask) => _api.SubmitFormTask(_taskId, completeTask);
 /// <summary>
 /// Complete a task and update process variables using a form submit, retrieving variables in response
 /// </summary>
 /// <remarks>
 ///  * If the task is in state PENDING - ie. has been delegated before, it is not completed but resolved. Otherwise it will be completed.
 ///  * If the task has Form Field Metadata defined, the process engine will perform backend validation for any form fields which have validators defined.
 /// </remarks>
 public Task <Dictionary <string, VariableValue> > SubmitFormAndFetchVariables(CompleteTask completeTask) => _api.SubmitFormTaskAndFetchVariables(_taskId, completeTask);