Package de.danet.an.workflow.omgcore

Examples of de.danet.an.workflow.omgcore.ProcessData.containsKey()


    private boolean invoke(WfActivity a) throws Exception {
  assertTrue(a.state() != null);
  ProcessData processData = a.processContext();
  // Check data field has been read correctly.
  processData.containsKey("emailAddress");
  processData.containsValue("account@bank.com");
  a.complete();
  Thread.sleep (1000);
  return true;
    }
View Full Code Here


  Basic.importProcessDefinitions("/process/testXPDL.xml");
  WfRequester req = new DefaultRequester(workflowService());
  // create the process
  WfProcess process = createProcess("ut-process", "jut1", req);
  ProcessData procData = process.processContext ();
  assertTrue (procData.containsKey("testValue"));
  assertTrue (procData.get("testValue").equals ("42"));
    }
 
    /**
     * Check change data.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.