[Vantage 8,03] BPM export xml

Is it possible to export a dataset off of a BPM trigger? I know you
can do this with the BAM triggers and have it run the progress export
code:

DEFINE VARIABLE sFilePath AS CHARACTER NO-UNDO.
{ud/GlbAlert.i &TableName = "Part"}
ASSIGN SendEmail = false.

/* Create the path and file */
ASSIGN sFilePath = 'file.xml'.

/* Create the xml dataset as file */
IF NOT DumpRecordAsXMLFile(input sFilePath) THEN RETURN ERROR.

I can't get any progress code to export with BPM. What I am trying to
do is create an xml dataset file of a part every time you delete a
part from the part master. I am able to use BPM for the trigger, but
i don't know if it is possible to export the dataset. Anyone have any
suggestions?