Skip to Content
avatar image
Former Member

Bug or Feature?

Hi,

while using a n:1 or n:m Mapping inside a ccBPM I have the problem that messages are disappearing. For example I have 3 Messages (Abstract Interfaces) in the order A, B and C where A and C are mandatory and B is optional for the Interface Mapping.

As long as I set all messages inside the ccBPM there are no problems. But if I just set A and C (no entry for B, it is optional), I'll get an error at runtime. In the technical workflow log there is just the container-entry "MESSAGES_IN - 1 Entry", so A is there but C is missing.

So my question, is this a bug or a feature?

Best regards

Robert

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 03, 2007 at 01:38 PM

    Hi Robert,

    Even if msg B is not there and you are receiving the msg's A and C then your interface mapping should work fine. please check the occurrence of the interface B in <b>interface</b> mapping is 0..1 and not 1 which is the default value.

    Also can you please explain how you are collecting the msgs before calling the transformation step. it might be that you transformation step is getting triggered before msg C is received in this particular case.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bhavesh Kantilal

      Ok, so it sounds really like a Bug.

      My solution was the change the order of the messages to A C B, this is also working, but this is not always practicable.

      Not so easy to create generic mappings then 😊.

  • avatar image
    Former Member
    Sep 03, 2007 at 01:26 PM

    Are you using blocks in the BPM?

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 03, 2007 at 01:30 PM

    Robert,

    What do u mean by optional message for Interfce mapping? Could you please explain it...

    -raj.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Prateek Raj Srivastava

      In the Interface Mapping the node is the message.

      Also in BPM there is no error (red border around) for empty messages if those are set to 0..x in selected Interface Mapping. Otherwise it is an error in BPM if you leave this field blank and the occurence is set to 1..x.