Skip to Content
author's profile photo Former Member
Former Member

Interface dependent message processing BPMN scenario

Hi

I have 3 async interfaces which runf rom file to soap services

My requirement is to develop a Async/Sync BPMN process to to fetch responses and send to database using JDBC receiver channel however all these 3 interfaces run one after other

Lets say 1st interface has 5 messages to process then second interface should run only once we revive all the five responses form the first interface

I have gone through blogs of async/sync with new BPN process and I need to work on that but can you please assist me developing the BPMN scenario to process these interface one after other

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 22, 2016 at 01:39 AM

    Hi Arun,

    you can use the attached bpmn process as an example for your scenario

    1. ICO1 triggers the BPM (file to BPM)
    2. the automated activity (Split n Messages) in the BPM can be used to split the messages and call soap receiver wsdl.
    3. the control then transfers to the (Interface Response) intermediate event, where it will wait for the response message and merge messages until count reaches your defined number. this will be your ICO2 , collect response and call BPM
      1. you need to set a correlation conditions based on the payload, or filename
    4. once all the response messages are collected, the control transfers to the (Interface 2) automated activity.
    5. control passes to the response message intermediate event. this is ICO3
    6. update JDBC with the response message. ICO4

    for the automated activities as defined in BPM, you can either use ICO to call soap receiver or can call soap endpoint directly from BPM

    note, you need to also work on some error handling on the automated activities. rename the attachment as .bpmn


    test.txt.zip (1.2 kB)
    Capture.JPG (71.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Navdeep Singh

      That's not true. I have a requirement and I accept that I am in learning phase

      The issue is still not fixed

      I don't have any specific counts of messages, so I cannot assign the count to wait for number of message to be processed

      My requirement is simple to process A interface async>sync>sync then process B interface async>sync>sync however


      - A and B interface message types are different and interface A and Interface B can be initiated any point of time on the process so BPM should make sure all the time interface A is processed get the response and then interface B should get initiated for request and response


      - When A interface does not have any messages to be processes B interfaces messages should automatically processed- it should not wait for any A interface message


      - The dependency between interface A and B is only when interface A has messages to be process then it should be in sequence if not interface B can process messages as an individual interface

      Thanks

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.