HumanTask engine allows you to configure periodic cleanup tasks from the
WSO2 BPS persistence storage based on task status. To enable Task clean
up task, uncomment TaskCleanupConfig element in HumanTask.xml
HumanTask engine uses quartz-scheduler for cron jobs. Refer [1] to
declare cron expressions format. In above example, Cron scheduler will
trigger TaskCleanup task every Four Hours, to remove COMPLETED,
OBSOLETE, EXITED from the database.
[1] -http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger
No comments:
Post a Comment