@Test public void testGetProcessDefinitionDate() throws Exception { IFormWorkflowAPI api = FormAPIFactory.getFormWorkflowAPI(); Assert.assertEquals( bonitaProcess.getDeployedDate(), api.getProcessDefinitionDate(processInstanceUUID.getProcessDefinitionUUID())); }
/** {@inheritDoc} */ public List<FormValidator> validatePage( final ProcessInstanceUUID processInstanceUUID, final List<FormValidator> validators, final Map<String, FormFieldValue> fields, final String submitButtonId, final Locale userLocale, final Map<String, Object> transientDataContext) throws FormValidationException, InstanceNotFoundException, ActivityNotFoundException, ProcessNotFoundException { return validatePage( processInstanceUUID.getProcessDefinitionUUID(), processInstanceUUID, null, validators, fields, submitButtonId, userLocale, transientDataContext); }