Added bpm:reassignable property to bpm:workflowTask with default value of true and added to invite task with default value of false.

Also fixed the hidden transition handling in task form processor, cancel for invite task is no longer returned and thus rendered in the UI.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2010-08-04 07:00:40 +00:00
parent eeff85b13a
commit adfa5cfbca

View File

@@ -171,8 +171,10 @@ public class WorkflowRestApiTest extends BaseWebScriptTest
assertEquals(personManager.getLastName(USER1), owner.getString("lastName"));
JSONObject properties = result.getJSONObject("properties");
assertNotNull(properties);
assertTrue(properties.has("bpm_priority"));
assertTrue(properties.has("bpm_description"));
assertTrue(properties.has("bpm_reassignable"));
JSONObject instance = result.getJSONObject("workflowInstance");
WorkflowInstance startInstance = startTask.path.instance;