Tech Support > Microsoft Windows > Windows CRM > Remove canceled workflows
Remove canceled workflows
Posted by Uwe Braunholz on May 15th, 2008


Hello,

we are using some workflows at creation of an entity (ie task).
In the workflows there are some conditions. If the condition fail to
match we end the workflow "canceled".

The list for each workflow grows and grows. The question is, how can I
automatically delete the canceled workflows?

I cannot create a workflow on workflows, so there might be another
solution?

Thank you!

Regards,
Uwe

Posted by Patrick on May 16th, 2008


To do this you need to create an application which deletes the workflows
using the webservice. You can than schedule this using for instance the
windows scheduler to run it every week or so.
--
Patrick Verbeeten (MCPD)
Lead Developer
Aviva IT

Extended Entity and Plug-in browser:
http://www.patrickverbeeten.com/maps/CrmTool.aspx



"Uwe Braunholz" wrote:

Posted by Uwe Braunholz on May 29th, 2008


Hello Patrick,

thank you for your reply.

Wouldn't it be enougth to delete the entries in the database? There
are over 100.000 workflowlogs already, the webservice does not seem to
handle that.

Thank you!

Regards,
Uwe

On 16 Mai, 12:45, Patrick <Patr...@discussions.microsoft.com> wrote:

Posted by Patrick on May 29th, 2008


Deleting anything in the database is not recommended, but you are right it
would work because it is basically the same as using the webservice. And you
are right 100.000 records would take the webservice a lot of time.

For a permanent solution I would still go with the web service, run that
application daily at night. May be there will be a couple of thousands of
records to delete but that should be managable.

--
Patrick Verbeeten (MCPD)
Lead Developer
Aviva IT

Extended Entity and Plug-in browser:
http://www.patrickverbeeten.com/maps/CrmTool.aspx



"Uwe Braunholz" wrote:


Similar Posts