KB Article #171947
Purge occurring even if routing is not complete
Problem
-- There is a decision rule that routes certain incoming files to several other endpoints, as well as a scheduled purge rule which is defined so that it purges only transfers whose routing status is R (Routed) or A (Acknowledged). However, the purge is operating on transfers where the script has not yet completed executing.
Resolution
* The recommended approach would be to discard the script and instead use a diffusion list to send the file to the various endpoints.
* If it is desired to do this with a script because custom functionality is needed, then you can call peladm update_trans at the end of the script and use that to set set -usr_st (user state) to some custom value, e.g., C (for completed), and then modify your purge rule to operate only on transfers where usr_st=C. (You can also fine-tune this by having the script first set usr_st to some other value, and then modify it later.)