AnsweredAssumed Answered

Cant move the Document using Simple wokflow

Question asked by sanku.alfresco on Dec 10, 2008
Latest reply on Mar 11, 2010 by viralshah
Hi,
  

This is my Scenario,

I have created Following spaces in Company home

      1.AccountCreation
                      -> Deposit–> D_Acc001
                      ->Loan—>L_Acc001

                        
      2.ScannedDocuments(Rule to add Aspect value(account-id),Simple wf to move the documents to Approve Space)
      3.Approve (Rule to move the documents  to either Temp_Approve or ForFurtherVerification Space)
      4.Temp_Approve (Script to move the Documents to  either AccountCreation/Deposit/D_Acc001 Space             
                              or AccountCreation/Loan/L_Acc001 Space  based on Account-Id(aspect value))
      5.ForFurtherVerification

I created users
       1. Creator
        2. Scanner
       3.  Approver


User Roles & Actions


  Creator

         
                 AccountCreation -Coordinator
               
                 Action–>he creates space for each Account under Deposit/Loan Space
   Scanner        
                ScannedDocuments-Coordinator
      Approve-Contributor
                
                 Action –>he upload documents in ScannedDocuments Space and enter account-id(aspect value)
                           and move to Approve Space(using Simple workflow)
 
   
   Approver
                Approve-Coordinator
      Temp_Approve-Contributor
      ForFurtherVerification-Contributor.
                AccountCreation-Contributor

                Action —>He approve/reject the documents.

                  On Approval–> he will move the Document to Temp_Approve Space.
                  On Reject –> he will move the Document to ForFurtherVerification Space.



The Problem faced is
         
           Approver cant move the document(which is send by Scanner user from ScannedDocument Space) to Temp_Approve space.


Its showing following Error

Failed to approve the document due to system error: Failed to execute script 'workspace://SpacesStore/91d90b75-236c-400c-91ad-04f3f73b443f': Failed to execute script 'workspace://SpacesStore/91d90b75-236c-400c-91ad-04f3f73b443f': Wrapped org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied. You do not have the appropriate permissions to perform this operation. (AlfrescoScript#6)
.

        But Approver can move his own document(created in Appover Space) to Temp_Approve Space which indirectly move to AccountCreation/Deposit/D_Acc001 Space..



  I dont know what mistake i did ..
  Any idea??Any help

Outcomes