Posts

Showing posts with the label view

SharePoint 2007/10 - Filtrare gli Item di una Lista per Workflow (Approval) Status

Image
Per poter filtrare i documenti o gli item di una lista in base allo stato del workflow, possiamo creare una nuova vista e configurare il filtro utilizzando la colonna [Stato flusso di lavoro] . Ma se proviamo ad inserire come filtro, ad es., "Approved" o "Rejected", non otteniamo risultati. Lo Stato del Workflow, infatti, viene memorizzato come un valore numerico! I valori sono i seguenti: Not Started - 0 Failed on Start - 1 In Progress - 2 Error Occurred - 3 Canceled - 4 (manualmente) Completed - 5 Failed on Start (retrying) - 6 Error Occurred (retrying) - 7 Canceled - 15 (da workflow) Approved - 16 Rejected - 17 L'impostazione corretta del filtro sarà quindi come l'immagine seguente: Fare attenzione ai valori per Canceled!  Sono diventato matto, ma se la Cancellazione è stata eseguita automaticamente dal Workflow, usare il valore 15, se invece il Workflow è stato interrotto manualmente dall'amministratore (ad es perché in err...

SharePoint 2007/10 - How to Filter List Items by Workflow (Approval) Status

Image
In order to filter documents or items in a list by status of the workflow, we can create a new view and set the filter using the column [Workflow Status]. But if we try to insert as a filter "Approved" or "Rejected", we do not get results. The Workflow Status is stored as a numerical value! The values ​​are as follows: Not Started - 0 Failed on Start - 1 In Progress - 2 Error Occurred - 3 Canceled - 4 (manually) Completed - 5 Failed on Start (retrying) - 6 Error Occurred (retrying) - 7 Canceled - 15 (from workflow) Approved - 16 Rejected - 17 The correct setting of the filter will then be like the following image: Pay attention to the values ​​for Canceled! If the cancellation is done automatically by the Workflow, use the value 15, but if the Workflow is stopped manually by the administrator (eg because of error), then you need to use a value of 4!

SharePoint 2010 - List View Lookup Threshold

Image
By modifying a view to show all the columns of Worfklow associated Status (many), I get this message: "This view can not be displayed Because The number of lookup and workflow status columns it contains Exceeds the threshold (8) enforced by the administrator." Do not worry, you can change this threshold, but it is not recommended for performance problems. Read this post to learn more (in English): The SharePoint 2010 "List View Lookup Threshold" and Why We Do not Change It

SharePoint 2010 - List View Lookup Threshold

Image
Modificando una vista, in modo da visualizzare tutte le colonne di stato dei Worfklow associati (molti, in effetti), al salvataggio ricevo questo messaggio: "This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the administrator." Niente paura, si può modificare questa soglia, ma non è consigliato farlo per problemi di performance. Leggi questo post per saperne di più (in inglese): The SharePoint 2010 “List View Lookup Threshold” and Why We Don’t Change It