cancel
Showing results for 
Search instead for 
Did you mean: 

Expression must not return a multilne value

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes,

Header occurrance 1

ItemList occurrance 0...unbounded

//Jack

Shabarish_Nair
Active Contributor
0 Kudos

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

Answers (3)

Answers (3)

Former Member
0 Kudos

yes, it is solved now.Many thanks!

Shabarish_Nair
Active Contributor
0 Kudos

Its a pleasure !!!

Former Member
0 Kudos

Yes,

Header is unchecked

While ItemList is checked.

//Jack

Shabarish_Nair
Active Contributor
0 Kudos

What about your IM ?

is the occurance tab in there changed to 0---unbounded ?

Shabarish_Nair
Active Contributor
0 Kudos

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 !!!