BPM to attach multiple files to a part

I’m looking to make a BPM in Kinetic that attaches multiple files to a part rev. It works perfectly if there is only one file to attach. But if there are multiple files, the BPM attaches the same file multiple times. Looks to be the “multiple dirty rows” issue discussed in the user guide.

I’m using the GetNewPartRevAttch BO identified with tracing. It runs once for each file that needs to attach. But when it set the fields on the attachment row, it is setting ALL the new attachment rows. So all rows get the filename for the last file to be attached by the BPM. There is no “with rule” option available.

Any ideas how to work around this? Is there a different BO I could be using?

Thank you


Figured out how to do it with Set by Query. Added a criteria to only write data to the row if blank.


image

1 Like