diff --git a/Conductor/Api/ITaskResourceApi.cs b/Conductor/Api/ITaskResourceApi.cs
index d0e59d5..e54cded 100644
--- a/Conductor/Api/ITaskResourceApi.cs
+++ b/Conductor/Api/ITaskResourceApi.cs
@@ -213,6 +213,22 @@ public interface ITaskResourceApi : IApiAccessor
/// string
string UpdateTask(Dictionary body, string workflowId, string taskRefName, string status, string workerid = null);
+ ///
+ /// Update a task By Ref Name, evaluates the workflow and returns the updated workflow
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ ///
+ ///
+ ///
+ ///
+ /// (optional)
+ /// Workflow
+ Workflow UpdateTaskSync(Dictionary output, string workflowId, string taskRefName, TaskResult.StatusEnum status, string workerid = null);
+
+
#endregion Synchronous Operations
#region Asynchronous Operations
@@ -415,6 +431,22 @@ public interface ITaskResourceApi : IApiAccessor
/// (optional)
/// string
ThreadTask.Task UpdateTaskAsync(Dictionary body, string workflowId, string taskRefName, string status, string workerid = null);
+
+ ///
+ /// Update a task By Ref Name, evaluates the workflow and returns the updated workflow
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ ///
+ ///
+ ///
+ ///
+ /// (optional)
+ /// Workflow
+ ThreadTask.Task UpdateTaskSyncAsync(Dictionary output, string workflowId, string taskRefName, TaskResult.StatusEnum status, string workerid = null);
+
#endregion Asynchronous Operations
}
}
diff --git a/Conductor/Api/IWorkflowResourceApi.cs b/Conductor/Api/IWorkflowResourceApi.cs
index 3eb3770..0d83808 100644
--- a/Conductor/Api/IWorkflowResourceApi.cs
+++ b/Conductor/Api/IWorkflowResourceApi.cs
@@ -55,9 +55,11 @@ public interface IWorkflowResourceApi : IApiAccessor
///
/// Update the value of the workflow variables for the given workflow id
///
- ///
- /// ApiResponse of Object(void)
- Object UpdateWorkflowVariables(Workflow workflow);
+ ///
+ ///
+ /// Workflow
+ Workflow UpdateWorkflowVariables(string workflowId, Dictionary variables);
+
///
/// Gets the workflow by workflow id
///
@@ -71,6 +73,18 @@ public interface IWorkflowResourceApi : IApiAccessor
/// Workflow
Workflow GetExecutionStatus(string workflowId, bool? includeTasks = null, bool? summarize = null);
+ ///
+ /// Gets the workflow by workflow id
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional, default to true)
+ /// Workflow
+ Workflow GetWorkflow(string workflowId, bool? includeTasks = null);
+
///
/// Gets the workflow tasks by workflow id
///
@@ -384,6 +398,18 @@ public interface IWorkflowResourceApi : IApiAccessor
/// Object
Object UploadCompletedWorkflows();
+ ///
+ /// Update a workflow state by updating variables or in progress task Updates the workflow variables, tasks and triggers evaluation.
+ ///
+ /// Thrown when fails to make API call
+ ///
+ ///
+ /// (optional)
+ /// (optional, default to 10)
+ /// WorkflowRun
+ WorkflowRun UpdateWorkflow(string workflowId, WorkflowStateUpdate request,
+ List waitUntilTaskRefs = null, int? waitForSeconds = null);
+
#endregion Synchronous Operations
#region Asynchronous Operations
@@ -428,9 +454,11 @@ public interface IWorkflowResourceApi : IApiAccessor
///
/// Asynchronous Update the value of the workflow variables for the given workflow id
///
- ///
- /// ApiResponse of Object(void)
- ThreadTask.Task