diff --git a/config/alfresco/extension/scheduled-action-services-context.xml.sample b/config/alfresco/extension/scheduled-action-services-context.xml.sample new file mode 100644 index 0000000000..674aa84b5b --- /dev/null +++ b/config/alfresco/extension/scheduled-action-services-context.xml.sample @@ -0,0 +1,442 @@ + + + + + + + + + + + + + + + + add-features + + + + + + aspect-name + + {http://www.alfresco.org/model/content/1.0}generalclassifiable + + + + + {http://www.alfresco.org/model/content/1.0}categories + + ${selectSingleNode('workspace://SpacesStore', 'lucene', 'PATH:"/cm:generalclassifiable/cm:Languages/cm:English"' )} + + + + + + + + + + + + + + + + + + + + + remove-features + + + + + + aspect-name + + {http://www.alfresco.org/model/content/1.0}generalclassifiable + + + + + + + + + + + + + + + + + + + + + copy + + + + + + destination-folder + + ${selectSingleNode('workspace://SpacesStore', 'lucene', 'PATH:"/app:company_home"' )} + + + + assoc-type + + ${node.primaryParentAssoc.typeQName} + + + + assoc-name + + ${node.primaryParentAssoc.QName} + + + + deep-copy + + false + + + + + + + + + + + + + + + + + + + + + set-property-value + + + + + + property + + {http://www.alfresco.org/model/content/1.0}created + + + + value + + ${today?string("yyyy-MM-dd'T'HH:mm:ss.sss'Z'")} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UNTIL_FIRST_FAILURE + + + IGNORE + + + + + + + + + lucene + + + + workspace://SpacesStore + + + + + PATH:"//\*" -ASPECT:"{http://www.alfresco.org/model/content/1.0}generalclassifiable" + + + 0 50 * * * ? + + + jobA + + + jobGroup + + + triggerA + + + triggerGroup + + + + + + + + + + + + + + + + + + System + + + + + + + UNTIL_FIRST_FAILURE + + + IGNORE + + + + + + + + + lucene + + + + workspace://SpacesStore + + + + ASPECT:"{http://www.alfresco.org/model/content/1.0}generalclassifiable" + + + 0 55 * * * ? + + + jobB + + + jobGroup + + + triggerB + + + triggerGroup + + + + + + + + + + + + + + + + + + System + + + + + + + UNTIL_FIRST_FAILURE + + + IGNORE + + + + + + + + + lucene + + + + workspace://SpacesStore + + + + +PATH:"/app:company_home/*//*" +TEXT:"tutorial" + + + 0 40 * * * ? + + + jobC + + + jobGroup + + + triggerC + + + triggerGroup + + + + + + + + + + + + + + + + + + System + + + + + + + UNTIL_FIRST_FAILURE + + + IGNORE + + + + + + + + + lucene + + + + workspace://SpacesStore + + + + @cm\:created:${luceneDateRange(yesterday, "-P10Y")} + + + 0 0/1 * * * ? + + + jobD + + + jobGroup + + + triggerD + + + triggerGroup + + + + + + + + + + + + + + + + + + System + + + + \ No newline at end of file