Problem in running scheduler

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 12:17 AM
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.
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.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2008 09:56 AM
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
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
