Index: workflow/src/main/java/org/onehippo/repository/documentworkflow/DocumentVariant.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- workflow/src/main/java/org/onehippo/repository/documentworkflow/DocumentVariant.java (revision 57926) +++ workflow/src/main/java/org/onehippo/repository/documentworkflow/DocumentVariant.java (revision ) @@ -1,5 +1,5 @@ /* - * Copyright 2008-2014 Hippo B.V. (http://www.onehippo.com) + * Copyright 2008-2016 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -115,5 +115,9 @@ public String getLastModifiedBy() throws RepositoryException { return getStringProperty(HippoStdPubWfNodeType.HIPPOSTDPUBWF_LAST_MODIFIED_BY); + } + + public boolean isPrimaryNodetype(final String type) throws RepositoryException { + return type.equals(super.getNode().getPrimaryNodeType().getName()); } } Index: workflow/src/main/resources/hippoecm-extension.xml IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- workflow/src/main/resources/hippoecm-extension.xml (revision 57926) +++ workflow/src/main/resources/hippoecm-extension.xml (revision ) @@ -1,6 +1,6 @@ - + hippo:initializefolder @@ -559,5 +559,18 @@ 2.27.00 - + + + hippo:initializeitem + + + 602.1 + + + /hippo:configuration/hippo:modules/scxmlregistry/hippo:moduleconfig/hipposcxml:definitions/documentworkflow/hipposcxml:source + + + + + Index: workflow/src/main/resources/documentworkflow.scxml IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- workflow/src/main/resources/documentworkflow.scxml (revision 57926) +++ workflow/src/main/resources/documentworkflow.scxml (revision ) @@ -1,6 +1,6 @@ + - - + + + @@ -507,8 +509,10 @@ + - - + + + @@ -544,7 +548,7 @@ - + \ No newline at end of file