Skip to Content
avatar image
Former Member

Expression must not return a multilne value

Hi

I am trying to create PurchaseOrder message via BPM.

The target MI has:

One Header record

Unbounded Items records

In BPM, Fork of 2 braches is created to recieve Header, another branch use looping to received Items and store into ItemsList

After the fork, a tarnsformation is use to create target MI, which the source contains:

Header (single record) and

ItemList (multiline with Item record)

Now the problem, when I do a check, I always hit the error: "Expression must not return a multilne value"

However if use :

Header (single record) and

Item (single Item record)

OR

HeaderList (multiline record) and

ItemList (multiline Item record)

It does not generate this error.

I seems the tarsnformation does not allow mixing of "Multiline" and "Singleline" for N:1 transformation???

Please advise

//jack

Message was edited by: JackLim

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 29, 2006 at 10:03 AM

    Yes,

    Header occurrance 1

    ItemList occurrance 0...unbounded

    //Jack

    Add comment
    10|10000 characters needed characters exceeded

    • Hmmmmm ...

      >>>

      tarnsformation is use to create target MI, which the source contains:

      Header (single record) and

      ItemList (multiline with Item record)

      Recheck the parameters of the transformation step

  • Jun 29, 2006 at 08:58 AM

    while you define your container variables in BPM did you take care of the multiline checkbox ?

    N:1 - > N will have the multiline checed and 1 will have it unchecked !!!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2006 at 09:47 AM

    Yes,

    Header is unchecked

    While ItemList is checked.

    //Jack

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2006 at 10:26 AM

    yes, it is solved now.Many thanks!

    Add comment
    10|10000 characters needed characters exceeded