Skip to Content
author's profile photo
Former Member

Doubt in BPM

Hi,

Assuming that I am implementing BPM, i have following doubt:

Suppose I receive different PO data from 3 different vendors. Say Vendor1, Vendor2 and Vendor3.

Assume that I get PO from an Vendor3, who sends individual line items instead of sending full PO with line items.

And in this case, I choose to implement Collector Pattern in BPM.

My doubt is how do I put a condition such that '<b> If I receive from Vendor 3 only, I need to implement Collector pattern'</b>. How do I put these conditions to check for the right vendor in BPM?

If any one has any suggestions, please clear my doubt.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 03, 2005 at 05:07 PM

    You could create a fork with one branch per vendor with a different PO structure. Each branch will have a receive step that has a different abstract interface assigned (The interface is attached to the specific message that the vendor is supposed to send). For vendor 3, you will have a branch in the fork that has a while loop implementing the collect pattern. This while loop has the receive step that receives one line item at a time and a container operation to append the received message to the messages list. The branch can have a transformation step after the loop to transform the list of line items to a PO.

    > My doubt is how do I put a condition such that '<b>

    > If I receive from Vendor 3 only, I need to implement

    > Collector pattern'</b>. How do I put these conditions

    > to check for the right vendor in BPM?

    Since you are getting the individual line items from vendor 3, you can define a concrete outbound interface with line item message type and assign it to route to the abstract interface (attached to 'vendor 3 branch') in BPM in receiver and interface determination. As a result, all the line item messages you receive will be routed to the 'vendor 3 branch' in the fork in BPM.

    Regards,

    Suresh.

    Add comment
    10|10000 characters needed characters exceeded