OOTB workflow gives error when user rejects in the document in publishing a major version.

Hi All,
I am using OOTB workflow with little customization  with following configuration
1. Allow content approval enabled
2. Configure a workflow with following general settings true
3. Start workflow on publish of Major version only is enabled
4. workflow has following configuration enabled.
Now, when user start publishing of major version and Starts the workflow. workflow starts without any problem.
But as and when the user rejects the document it is rejected with Reject status with "Approval Status" as well as workflow status which is expected.(This is correct )
But when i look at the workflow history i can see at last line there is an Error with
An error has occurred in In [Workflow Name].
Now when user check out and check in item again and try to publish with Major version again. it gives errors that the previous version is still running.
I have trace a lot and also test with original OOTB workflow itself. it is behaving the same.
As per my findings there is problem in "Completion condition of this task process" the end task process is not being executed correctly.
I tried to end the task process with End the task process action but it is still not working.
I need some help in this issue as users are facing problems in case of rejection. I hope some one has the solution for the same.
Two things i have noticed are
1. My MS office 2010 professional plus is expired as i was using trial version
2. I have made stop inheriting tasks permission and remove all default groups as i have settings in workflow "Only allow task reception and process owner to read and edit workflow task"
3. Earlier i had also installed "Sharepoint 2010 April 2012 updates". i had also observed that (installing Sharepoint 2010 April 2012 updates) before that if user has selected "Automatically rejects the document if any participant rejected". it ends
with "rejected" status. At present it remains in inprogress and not stops with rejected status.
Can any one give me a hint what should be the problem ? Is it a problem with latest Sharepoint 2010 April 2012 updates ?
Thanks,
S. M. MANIYAR

I have done following testing.
1. The server in which i have not installed sharepoint 2010 April 2012 updates the above scenario is working fine without any problem
2. I have also observed following logs of error in server where April 2012 updates is installed.
8/28/2012 03:51:41.33  w3wp.exe (0x0F08)                        0x0A00 SharePoint Foundation        
 Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 8bf7fef1-c92e-4b22-a16f-480425d3adc6 
08/28/2012 03:51:41.33  w3wp.exe (0x0F08)                        0x0A00 SharePoint Foundation        
 Workflow Infrastructure        98d4 Unexpected System.InvalidOperationException:
CompositeActivity cannot transition to 'Closed' status when there are active child context still exist for child activity.     at System.Workflow.ComponentModel.Activity.MarkClosed()     at System.Workflow.ComponentModel.ActivityExecutionContext.CloseActivity()    
at Microsoft.Office.Workflow.Actions.OfficeTask.FinalClose(Object sender, EventArgs eventArgs)     at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)    
at System.Workflow.Runtime.Scheduler.Run() 
Following are last two lines of workflow history.
S. M. MANIYAR

Similar Messages

  • Getting error when tried to learn the documents in OFR Designer

    Hi All,
    As per project requirements, I have to create Classification and Verification LearnSets in Oracle Form Recognition Designer depending on three Invoice Types-- PO,Non-PO and Pre-Approved.
    First I created three derived classes under Generic Class -- PO,Non-PO and Pre-Approved.
    I can add documents in Classification and Extraction LearnSet, analyze them, but getting error when click on the Learn button, I couldn't make the engine ready in learned state from the Definition Mode.
    Always getting the below two errors:-
    1) Cannot compile. May be not enough classes defined or too few documents assigned to the classes.
    Cannot learn the BrainwareView : DefaultView
    SERbrainware : Learn, learning error (7)
    2) Cannot compile. May be not enough classes defined or too few documents assigned to the classes.
    Cannot create Brainware Dictionary for BrainwareView : DefaultView
    SERbrainware : Create/AppendDictionary, preprocessing error (3)
    Thanks in advance,
    Moumi.

    Hi All,
    The below mentioned error were resolved after adding documents in Void Class.
    Thanks,
    Moumi.
    Edited by: 903667 on Jan 31, 2013 8:34 PM

  • Java Script Errors when clicking on several opened documents

    All of a sudden I started having problems shutting down
    Dreamweaver MX 6.1
    Later , when I open two or more documents I get an error when
    I click on the document in the background.
    A series of dialog boxes come after eachother and say the
    following:
    1. While executing Browse_back enabled in toolbars.xml, a
    java script error occurred
    2. While executing Browse_back enabled in toolbars.xml, a
    java script error occurred
    3. While executing Browse_forwrad enabled in toolbars.xml, a
    java script error occurred
    4. While executing Browse_stop enabled in toolbars.xml, a
    java script error occurred
    5. While executing get current value in AddressURL.htm
    enabled in toolbars.xml, a java script error occurred
    I have uninstalled and reinstalled the program several times
    and it did not help. I have also installed Dreamweaver MX 6.1
    updaters with no change.

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    or on Mac -
    Library/Application Support/Macromedia/Dreamweaver
    8/Configuration/MacFileCache-*.dat
    and delete it.
    Restart DW. Works better?
    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "anabelapinto" <[email protected]> wrote in
    message
    news:emh6hq$ke5$[email protected]..
    > All of a sudden I started having problems shutting down
    Dreamweaver MX 6.1
    > Later , when I open two or more documents I get an error
    when I click on
    > the
    > document in the background.
    >
    > A series of dialog boxes come after eachother and say
    the following:
    >
    > 1. While executing Browse_back enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 2. While executing Browse_back enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 3. While executing Browse_forwrad enabled in
    toolbars.xml, a java script
    > error
    > occurred
    >
    > 4. While executing Browse_stop enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 5. While executing get current value in AddressURL.htm
    enabled in
    > toolbars.xml, a java script error occurred
    >
    > I have uninstalled and reinstalled the program several
    times and it did
    > not
    > help. I have also installed Dreamweaver MX 6.1 updaters
    with no change.
    >
    >

  • Workflow status web part gives error when going back to previous stage (using GO TO) in Project Server 2013 workflow

    Hi,
    Workflow status web part gives error when going back to previous stage (using GO TO) transition activity  in Project Server 2013 workflow.
    Please guide how to create a workflow which restarts from a desired stage.

    Thanks for your prompt reply....
    It gives following error
    Workflow Status
    This Web Part was unable to load.
    Information that may be useful in solving this problem was written to the Unified Logging Service (ULS) log on the Project Web App with the following ID: e95a9c9c-1f68-90d7-0a3e-5951df70fec6
    For more information, contact your Project Web App administrator.
    what do you mean to restart the Project Server 2013 with different project name, please elaborate....

  • Error when generating IDoc from MC document - workitem to all the SAP users

    A workflow item with the subject of “Error when generating IDoc from MC document” is sent to all the SAP users' inbox. Is it possible to stop the generation of this work item? If that is not possible, can we limit sending the work item to a specific user/agent instead of all the users in the system?
    It appears that these work item or error message are generated when one of the developers reopen the POs and add line items. Moreover, during that time the procurement team blocked the IDOCs from going out to the vendors when changing and resaving the POs. Therefore, we need stop the generation of error message/work item when the IDOCs generation blocked.

    Please check Rule 70000141which is the default rule for this task. Inside this rule a FM is attcahed which is reading table EDO13 and EDPP1 where agent is retrieved Probably this table entries are not maintained. This Workflow is getting triggered from Message cOntrol I think.
    Please check this link for
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm
    <b>Reward points if useful and close thread if resolved</b>

  • Error on load: System.IO.IOException: The process cannot access the file : error in event viewer when users want to view documents from this third party deployed scan solution

    Error on load: System.IO.IOException: The process cannot access the file
    '\\server1\SCANSHARED\.pdf' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
       at abc.Scan.Layouts.ICC.Scan.View.Page_Load(Object sender, EventArgs e)
    I faced this  error in event viewer  when users want to view documents from this third party deployed scan solution
    here I have two WFS servers  and they configured with load balancing in F5 .
    when I enable both servers in F5 I receive this error messages in 2nd server,
    when users want to view documents
    adil

    Do you have antiVirus installed on the sharepoint servers?
    These folders may have to be excluded from antivirus scanning when you use file-level antivirus software in SharePoint. If these folders are not excluded, you may see unexpected behavior. For example, you may receive "access denied" error messages when files
    are uploaded.
    Please follow this KB and exclude the folders from Scanning.
    http://support.microsoft.com/kb/952167
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Error when trying to access the RBAC User editor and Message tracking

    Hi,
    I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
    I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue. 
    https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
    However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
    the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
    I then checked the event logs on the server and saw the below error logged;
    Current user: 'Domain/Server Services Accounts/administrator'
    Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
    page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       --- End of inner exception stack trace ---
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.default_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
    have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
    Any ideas as to what the above event log is specifically referring to?

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Outlook 2010 gives error when opening a PowerPoint attachment.

    Outlook 2010 gives error when opening a PowerPoint attachment. 
    Hi All,
    We have several VIP employees that are getting the following error on all PowerPoint documents that come as attachments from Outlook.
    I have researched and tried the following steps and verified these settings are already applied.
    I did find a work around but not a fix and our security team will NOT allow me to change this setting however if I uncheck the setting all employees can open the outlook attachment.
    Any other ideas on a fix for this if I am unable to uncheck Enable Protected View.

    Hi Matthew,
    This is a perennial problem, here is a thread which has a deep discussion about this issue:
    http://social.technet.microsoft.com/Forums/office/en-US/07f710a5-a6ca-4256-8f27-6aac41a6b37e/outlook-2010-unable-to-open-word-excel-and-power-point-attachments-from-an-email?forum=outlook
    It looks like nobady really find a solution there, the only workaround is what you have found - change the protected view setting in Trust Center. You will lose some security by doing this but it seems to be the only solid solution currently.

  • HT201210 When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware

    When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware
    what is the problem ?

    Error -1 generally indicates a catastrophic hardware failure. 
    You'll need to bring your phone to Apple for evaluation

  • When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware

    When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware

    Error 1 means, as the link that Chris gave you says, that your phone is either jailbroken or damaged.
    It can also mean that your antivirus is blocking the update, but this is rare. Try disabling your antivirus if your phone is not jailbroken. If that doesn't resolve the problem you need to get the phone fixed or replaced.
    If the phone IS jailbroken you have just learned why you should not hack an iPhone. And you will have to go somewhere other than an Apple-hosted forum for help.

  • Good morning, my photoshop stopped working, it gives error when started, what can it be?  This is the message that appears: Unable to start the program it took a unexpected end of file  I hope answer

    Good morning, my photoshop stopped working, it gives error when started, what can it be?
    This is the message that appears:
    Unable to start the program it took a unexpected end of file
    I hope answer

    Could not initialize Photoshop because an unexpected end-of-file was encountered. | Mylenium's Error Code Database
    Mylenium

  • Error when generating IDoc from MC document

    Hi,
    Our Workflow administrator is getting the following error  in his inbox daily for a particular IDOC type.
    Error when generating IDoc from MC document
    Please let me know how to disable this message.
    Regards
    Elini.P

    Hi  experts,
                i got the error msg when generating idoc from mc document
    this error msg goes to all sap users inbox,how to resolve this problem
    pl give me solutions
    regards
    kumar

  • Error when using PPR in the OA page developed.

    HI,
    We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
    Scenario:
    1) PPR is enabled for a custom OA page that is developed.
    2) The PPR is being used to enable or disable a particular field based on the
    selection of a value in a poplist in the same OA Page.
    Error replication steps:
    1) The user enters a value in the primary mandatory field which has to have
    unique value.
    2) The user selects a value from the poplist of a field which has PPR associated.
    3) The user enters data in all other mandatory fields in the OA page except one
    and tries to save the form and is shown a error message saying that all
    mandatory fields are not entered(This is correct). Now the page gets
    automatically refreshed and so the entered values are wiped off.
    4) Now if the user again enters a value in the primary mandatory field (as in
    step1) and if that value happens to be already existing value and then select
    a value from the poplist which has PPR enabled then immediately the error
    "Please enter a unique value" is entered, though we did not save the record.
    The unique record validation would happen only at the time of saving the
    record as per out business logic.
    5) But if in Step 4 if i had entered a unique value again then the above said error
    does not happen. There are few more similar kind of issues happening in the
    same page because PPR is enabled.
    Please note that this issue happens only when the page is deployed in a oracle
    applications instance and not in JDeveloper.
    Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
    Any inputs for resolving this issue would be highly appreciated.
    Thanks, Raja.

    What works in Jdeveloper should work when deployed in iAS as well.
    And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
    Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.

  • Error when I try to send document to Business Objects Inbox in Infoview

    I am testing XI 3.1 and when I select a Webi document then click on the option to send a document to a Business Objects Inbox, I get the following error:
    An Error has occurred: Unspecified error.
    Any ideas?

    Hi Paula,
    Following solutions might help you to resolve the issue.
    Following are the rights you need to apply so that the particular set of users can
    send the document to other useru2019s inbox.
    1. Send the Document to Inbox
    Any files stored in the CMS, even the agnostic ones, can be sent to a useru2019s Inbox.
    The file is sent as is, without any refresh in the case of Web Intelligence or Desktop
    Intelligence file.
    To send a document to a useru2019s Inbox, the following rights must be granted:
    u2022 Send document right for Info View application, if the document is sent from Info View
    u2022 Add objects to Folder and View objects rights for the destination Inbox folder
    2. Add a User or A Group to another Group.
    To add a user or a group into a destination group, the following rights must be granted:
    u2022 View objects, Edit objects rights for the destination group
    u2022View objects, Edit objects rights for the source user or group
    u2022Schedule to destinations right should also be granted to the particular group to which
    the user belongs, and download files associated with the object.
    Default users (non-administrative users) should have rights to add objects to other
    useru2019s inbox.
    1. Login to CMC.
    2. In CMC, Home - Inboxes - Rights - Everyone - Advanced - "Explicitly Grant" the
    right 'Add Objects to the folder' and 'View Objects' rights.
    3. In CMC, Home - Groups - Rights - Everyone - Advanced - "Explicitly Grant" the
    right 'Add Objects to the folder' and 'View Objects' rights.
    4. In CMC, Home - Categories - Rights - Everyone - Advanced - "Explicitly Grant" the
    right 'Add Objects to the folder' and 'View Objects' rights.
    Regards,
    Sarbhjeet Kaur

  • Error when trying to refresh the current report

    I am having this error message "Error when trying to refresh the current report on my reports appear before they are executed. It has been a very random so I am unable to pinpoint what is causing it. I am currently working with BO 4.1 and it is connected to BW, whereby the authentication is SSO.
    Either way the reports are able to run with problems but I dislike having to insist with the refresh button or having to close and reopen the report for it to run as it should.
    I did some investigations but did not find anything conclusive because there is no problems with authorizations, there are no merged dimensions nor grouping variables used in the report and it is based on just one query.
    Does anyone know why this error message appears? What its cause is?

    Hi
    While creating the report if we select the authentication mode as :Use specified user name and password or Use Business Objects credential mapping, will get the same error.
    So if possible can you please test change Connection Type Authentication Mode to Single Sign on.
    Find the below link.
    http://scn.sap.com/community/semantic-layer/blog/2014/06/06/how-to-change-connection-type-authentication-mode-to-sso-1

Maybe you are looking for