This API lets you count, query, and purge data that matches a given type, age, state and user. It works across workflow, history and iCM objects.
Functions
All functions take the four selectors as their parameters. They can be used with the workflow, history and icmapi workers.