//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: @Override public org.camunda.bpm.engine.runtime.ProcessInstance call() throws Exception public override ProcessInstance call() { //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final XmlSerializable var = new XmlSerializable(); XmlSerializable var = new XmlSerializable(); var.Property = "jonny"; return(outerInstance.runtimeService.startProcessInstanceByKey("processWithTimer", Variables.createVariables().putValueTyped("testObject", Variables.objectValue(var).serializationDataFormat(DataFormats.JSON_DATAFORMAT_NAME).create()))); }
//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) { XmlSerializable xmlSerializable = (XmlSerializable)execution.getVariable("xmlSerializable"); Assert.assertEquals("value", xmlSerializable.Property); }