SX.e generates a separate SXEvent BOD for each PO line that triggers a po-overrcv event, containing the event data for each over-received line, but with the same Document ID for all of them. For example, if three lines on PO 123 are over-received, three different SXEvent BODs are generated with the same Document ID Order#: 123. My Activation Policy only triggers my workflow for the first instance of that Document ID, the first over-received line. The remaining BODs fail to start with this error.
An instance for Workflow 'PO_Over_Received' is already running for document 'SXEvent', documentId='Order#: 123'
So, only the first over-received line is processed by my workflow. I want the Activation Policy to create instances for each over-received line, and I don't see that option (just an option to cancel a running workflow). Is there a way to make the Activation Policy create parallel instances for each line? Or can I modify the Document ID that is assigned to the SXEvent BOD for this event type to add the PO line number, so that each Document ID is unique?