Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        public void SetProcessVariables(SetProcessVariablesCmd value)
        {
            ProcessInstance processInstance = GetProcessInstanceById(value.ProcessId);

            VerifyCanWriteToProcessInstance(processInstance.Id);
            runtimeService.SetVariables(value.ProcessId, value.Variables);
        }
Beispiel #2
0
        public virtual Task <bool> SetVariables(SetProcessVariablesCmd setProcessVariablesCmd)
        {
            processEngine.SetProcessVariables(setProcessVariablesCmd);

            return(Task.FromResult(true));
        }
Beispiel #3
0
        public virtual Task <ActionResult> SetVariables(string processInstanceId, SetProcessVariablesCmd setProcessVariablesCmd)
        {
            processEngine.SetProcessVariables(setProcessVariablesCmd);

            return(Task.FromResult <ActionResult>(Ok()));
        }
 /// <inheritdoc />
 public async Task <ActionResult> SetVariables(string processInstanceId, SetProcessVariablesCmd setTaskVariablesCmd)
 {
     return(await httpProxy.PostAsync <ActionResult>($"{serviceUrl.Replace("{processInstanceId}", processInstanceId)}", setTaskVariablesCmd).ConfigureAwait(false));
 }
 /// <inheritdoc />
 public async Task <bool> SetVariables(SetProcessVariablesCmd setTaskVariablesCmd)
 {
     return(await httpProxy.PostAsync <bool>($"{serviceUrl.Replace("{processInstanceId}", setTaskVariablesCmd.ProcessId)}", setTaskVariablesCmd).ConfigureAwait(false));
 }