I have copied our AR invoice report style, and added a break-routing so that it break on InvoiceNum, and next step is attach to ECM on Invchead.
ON InvcHead, I have an in transaction data directive to check when Posted change from any to TRUE, enable a standard data data directive. This standard directive will AutoPrint the above mentioned report Style with routing enabled, send the PDF to ecm.
I expect it to send the AR invoices to ECM, but when Invc Group is posted in system monitor i can see that the task is failed (no Invoice selected to print)
When i manually print that Inovice from Invoice tracker, it prints sucessfully (gets attached to InvcHead correctly).
What could be the problem with the BPM?