locked
approval workflow - hide rejected documents RRS feed

  • Question

  • Hi Guys,

    I'm using OOTB approval workflow of sharepoint 2010. 
    Currently, once i uploaded the file in the document library, the approver will approve/reject the file.

    Once approved/rejected, the file will be displayed in my document library like this:

    My problem is, i have to hide the files that are rejected. Only Approved documents are need to be viewable in my document library.
    Do you have any idea on how to achieve this? Your help will be highly appreciated.

    Thanks a bunch!


    -Superglenntot


    • Edited by sg_07 Wednesday, September 19, 2012 3:11 PM
    Wednesday, September 19, 2012 3:10 PM

Answers

  • Hi Guys, i had resolved this problem by the following steps:

    1. Go to your document library.

    2. Under the Library Tab in the ribbon, click on "Modify View" 

    3. under the filter part, tick "Show items only when the following is true:"  and set your desired settings.

    In my case, i want to hide the rejected documents in my document library so i set it like this:

    D1 - that's my workflow column name.

    17 - That's the numeric code for "Rejected" documents..

    This link gives a list of all the other possible numeric codes that you can use:

    http://www.dzeee.net/sharepoint/post/2010/04/06/Workflow-status-codes-(used-for-view-filter).aspx

    Hope this helps! :)


    -Superglenntot

    • Marked as answer by sg_07 Monday, September 24, 2012 2:24 AM
    Monday, September 24, 2012 2:24 AM

All replies

  • Have you tried changing your default view to filter on only approved documents.
    Thursday, September 20, 2012 7:31 AM
  • Hi Kenny,

    Thanks for your reply.. Yes, this is what i did:

    i go to Modify View > then edit the filter:

     

    As i save this, i always get this error:

    Do you have any idea on how to resolve this? :)


    -Superglenntot

    Thursday, September 20, 2012 7:41 AM
  • go to your sharepoint server and C:/Program Files/Common Files/Microsoft Shared/web server extensions/14/LOGS/.

    Click on date modified and get recent one. Now open txt file and find that ID here.


    Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"


    Thursday, September 20, 2012 8:45 AM
    Moderator
  • Hi Guys, i had resolved this problem by the following steps:

    1. Go to your document library.

    2. Under the Library Tab in the ribbon, click on "Modify View" 

    3. under the filter part, tick "Show items only when the following is true:"  and set your desired settings.

    In my case, i want to hide the rejected documents in my document library so i set it like this:

    D1 - that's my workflow column name.

    17 - That's the numeric code for "Rejected" documents..

    This link gives a list of all the other possible numeric codes that you can use:

    http://www.dzeee.net/sharepoint/post/2010/04/06/Workflow-status-codes-(used-for-view-filter).aspx

    Hope this helps! :)


    -Superglenntot

    • Marked as answer by sg_07 Monday, September 24, 2012 2:24 AM
    Monday, September 24, 2012 2:24 AM