Esempio n. 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void execute(org.camunda.bpm.engine.delegate.DelegateExecution execution) throws Exception
        public virtual void execute(DelegateExecution execution)
        {
            TypedValue typedValue               = execution.getVariableTyped("listVar");
            IList <JsonSerializable> var        = (IList <JsonSerializable>)typedValue.Value;
            JsonSerializable         newElement = new JsonSerializable();

            newElement.StringProperty = STRING_PROPERTY;
            // implicit update of the list, so no execution.setVariable call
            var.Add(newElement);
        }