Skip to Content

PO 7.50 BPM message collector does not start

Hello,

I have a BPM to collect invoic IDOCS.

The BPM is set up as using the same message trigger for start event and intermediate message event.

I set the condition of the start event just to "true".

Upon first reicipt of an IDOC one field is mapped against a correlation ID data object.

The condition of the intermediate event is set according to compare the content of that field for each new incoming IDOC with the correlation value inside my correlation ID data object.

I would assume that for each new IDOC the BPM engine first tries to match the specific correlation logic of the intermediate event, and if that does not match just starts a new process using the start event.

That would be the behavior I would find logical and which is needed.

But the BPM engine does just nothing.

The message sent to BPM engine is green and deliverd, but there is no BPM instance triggered.

If I get rid of the intermediate event, everything is fine, and I can find my process instance, so it seems not to be a general problem.

Any Ideas?

Thanks

Matthias

Start Event

Intermediate event

bpm-1.png (39.4 kB)
bpm-start-ev.png (54.6 kB)
bpm-int-ev.png (56.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 28, 2019 at 09:23 AM

    for the curious, I found the problem.

    The correlation condition I defined was using the filter function.

    At runtime this function threw an exception with a cryptic exception message.

    This was only visible after fiddling with the log level:

    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:195)
    ... 88 more
    Caused by: java.lang.IllegalArgumentException: Filter criteria could not be parsed
    : 020

    I do not know why my condition is causing the problem, but that is another question.

    After simplifying the condition (getting rid of the filter function) it worked.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2019 at 05:55 AM

    I suggest you copy and use standard integration patterns for collect pattern instead of building this scenario from scratch. Many blogs on integration patterns are available. Alternatively, just refer them to check any deviation from the standard practice.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2019 at 08:57 AM

    Hi Ravi,

    I investigated these patterns, they do nothing more or less than my BPM.

    My Problem is not the design of the collect pattern, but the trigger, wihich seems not to be working as documented.

    The patterns do not contain any trigger definitions, at least I couldn't find any.

    The documentation tells me that I can use one and the same trigger for start event and intermediate event.

    But that is not working.

    I have now switched to using a dedicated trigger for the start of the BPM, everything is working fine now, messages get collected and processed.

    But it is somewhat clumsy, I have to control the start of the BPM from outside (the SAP ERP system) which adds logic to the whole process.

    So it would be fine to get some clue on how to achieve that.

    Thanks

    Matthias

    Add a comment
    10|10000 characters needed characters exceeded

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.