Exemplo n.º 1
0
        public virtual void notify(DelegateTask delegateTask)
        {
            delegateTask.Execution.setVariable("greeting", "Hello from " + greeter.getValue(delegateTask.Execution));
            delegateTask.Execution.setVariable("shortName", shortName.getValue(delegateTask.Execution));

            delegateTask.setVariableLocal("myTaskVariable", "test");
        }
Exemplo n.º 2
0
        public virtual void notify(DelegateTask delegateTask)
        {
            if (this.expression != null && this.expression.getValue(delegateTask) != null)
            {
                // get the expression variable
                string expression = this.expression.getValue(delegateTask).ToString();

                // this expression will be evaluated when completing the task
                delegateTask.setVariableLocal("validationRule", expression);
            }
        }
Exemplo n.º 3
0
 public virtual void notify(DelegateTask delegateTask)
 {
     delegateTask.setVariableLocal("var", "foo");
 }