from Document d join d.attributes v
where d.workflowStatus='Revision'
and d.creatorId in (1,114,113,116)
and v.stringValue='Acme'
and key(v) = 'Buyer'
order by d.date desc
[snippetnoeditor id="dashlet1" openLabel="Apri dashlet" copyLabel="Copia nella clipboard"][/snippet]
Questo dashlet di tipo documenti seleziona tutti i documenti che corrispondono a questi criteri:
- l'utente creatore deve essere identificato con 1, 114, 113 o 116
- lo stato del workflow deve essere Revision
- l'attributo esteso Buyer deve essere Acme