cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in running scheduler

joeu
Champ in-the-making
Champ in-the-making
Hi All,

I tried to run scheduler that will check a particular space documents with effective from date less than or equal to current date. If so then place files into another space.

I have created a js file for this and tried to run the js file using a scheduler every 15 minutes.

Scheduler throws Exception:

ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 1 integrity violations:
The association parent multiplicity has been violated:
   Target Node: workspace://SpacesStore/35409fac-d472-11dc-a8ab-f734a64381d9
   Association: Association[ class=ClassDef[name={http://www.alfresco.org/model/rule/1.0}rules], name={http://www.alfresco.org/model/rule/1.0}ruleFolder, target class={http://www.alfresco.org/model/content/1.0}systemfolder, source role=null, target role=null]
   Required parent Multiplicity: 1..1
   Actual parent Multiplicity: 0
10:45:01,250 ERROR [org.quartz.core.JobRunShell] Job jobGroup.jobD threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: Unknown Exception in Transaction.
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

Your scheduled action is trying to do something which is not valid according to the model. It looks like it is changing rule associations incorrectly and leaving a dangling association.

Andy