Skip to Content

Message Mapping depending on content


I have the following source:

<record> (0..unbound)

<localDmdUnit>0899878244</localDmdUnit> (0..1)

<localPackSize>1</localPackSize> (0..1)

<markForDeletion>1</markForDeletion> (0..1)


and the target

<LoadEntityLoekz> (0..unbound) mapped with record

<EntityLoekz action="UPDATE_INSERT">











In the source the <markForDeletion> can be 0 or 1. If it is 1 the <record> should be mapped with the target, otherwise <LoadEntityLoekz> should not be created.

i've tried with this mapping but it doesn' work:

record -> exists \

-> AND -> createIf -> LoadEntityLoekz

if (markForDeletion == 1) /

Nothing will be mapped

Any idea?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 24, 2009 at 02:11 PM


    You may use this mapping:

    markForDeletion --> removeContext --> equalsS: 1 --> ifWithoutElse --> LoadEntityLoekz

    record -

    > removeContext -

    > /

    Hope this helps,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 02:06 PM


    I'd say the IF without Else function should work, as long as the loop determination is correct.

    I currently don't have a PI system which i can test this in but as far as i can remember the IFWithoutElse should do the trick

    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.