locked
CQWP filter based on workflow status. RRS feed

  • Question

  • I've got a doc library which filter with a content query web part. I need to filter and only show documents that are approved.

    I assumed I would just pick the 'Approval' column from with in the CQWP and 'filter = 16' (like you can do within the document library its self).

    Initially I couldnt find a column called 'Approval' I only had Approval Status', which I think relates to Content Approval - that I'm not using.

    Then I read that the CQWP only displays site columns, so I created a site column named 'Approval', ths showed up in the CQWP but I still cant filter based on the workflow approval status.

    Any Ideas?


    • Edited by nick9one1 Wednesday, July 4, 2012 10:08 AM
    Wednesday, July 4, 2012 10:06 AM

Answers

  • Hi nick9one1,

    Yes, the CQWP only filter on site columns. Do you filter on only one document library list? If it's, you needn’t use CQWP, you can just use a general filter web part or filter section under all document-> Modify this view, then filter based on the column of your workflow name.

    If it’s not the issue, please provide more information about how you create the workflow.

    Best Regards.

    Thursday, July 5, 2012 8:40 AM
    Moderator