Come cancellare le istance dei workflow in errore
...per effettuare questo tipo di cancellazione ci sono due possibilita':
- Effettuare la cancellazione manualmente o tramite procedura via codice supportata (al massimo 250 record per volta)
- Lanciare una query nel db (Modalita' NON supportata!!!) del tipo
delete from workflowwaitsubscriptionbase
where asyncoperationid in
(select asyncoperationid from asyncoperationbase
where name = 'nome workflow' and StateCode = 1)
delete from workflowlogbase
where asyncoperationid in
(select asyncoperationid from asyncoperationbase where name = 'nome workflow' and StateCode = 1)
delete from asyncoperationbase where name = 'nome workflow' and StateCode = 1