Scheduling wPDM tasks with specific criteria.

I am wondering if this is possible and easy to achieve- I want to export certain files from PDM based on status, file type and revision number. For example; export only DWG files with the status 'Archived' and Revision 1 or greater. Is there a way of modifying an exisitng Macro to do this and then using the 'Custom Task' command in the task scheduler? I cant see any option to do this in existing tasks in the scheduler.

SolidworksWorkgroup Pdm