Skip to Content
avatar image
Former Member

PI 7.1 EHP1 Mapping with Variables feature

HI,

Anyone can point to a blog/something explaining how the variables works in the graphical mapping editor? (PI 7.1 EHP1)

It's working fine for simple one-to-one mapping, but as soon as queues and context come in I'm never getting the expected results.

Now I'm trying to populate a variable to be re-used in 2 differents target fields.

source -> useOneAsMany -> splitByValue -> trim -> variable.
variable -> target1
variable -> some logic -> target 2

Exception: values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD)

Are VARIABLE single value and cannot be used as a ResultList?

Edited by: Martin Lavoie Rousseau on Mar 8, 2011 7:45 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 08, 2011 at 06:55 PM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The screenshot made me notice the occurence of the variable is 0..1 so my guess would be it can only be single value and not ResultList.

      Also the Display Queue option is not working properly.

      This looks like a nice feature on paper but is really limited.

  • avatar image
    Former Member
    Mar 08, 2011 at 07:04 PM

    Single Value only.

    Add comment
    10|10000 characters needed characters exceeded