| Sam Vanhoutte 2004-12-07, 5:49 pm |
| Hello,
I have an orchestration, that has an output message. (after dynamic
mapping, business rules...)
This message is sent to a port that is direct bound to the message box.
I have three send ports (later on, more will come) that have a filter like
this: PurchaseOrders.zorders05_prop.ExtPODestination="CustomerA" (other two
have customer b and c)
The value for this property can not be found in the content of the message.
The value comes from a database call...
The property Schema Base is set to MessageContextPropertyBase.
In the message assignment shape of the outbound message, I have this code:
OutputDocument = IntermediateDocument;
OutputDocument(PurchaseOrders.zorders05_prop.ExtPODestination) =
databasevalue;
When the orchestration has run, I can see in the HAT that there is no
subscription found (Exception occurred when persisting state to the
database).
And if I look in the message details -> context. I can see that the
property is there, but the IsPromoted value is set to False! So, it seems
that I am writing to the context, instead of promoting the property to the
context...
How can I solve this issue?
Best regards...
Sam Vanhoutte
|