private void btnCreateWFDef_Click(object sender, EventArgs e) { oDef = oDesign.createDefinition("Test Definition"); if (oDef != null) { MessageBox.Show("Definition was created..."); } }
private void btnWFDefGetInsts_Click(object sender, EventArgs e) { oDef = oDesign.getDefUsingName(definitionName); Dictionary <string, deInstance> oInsts = oDef.getInstances(executionStatus.all); }