Hi,
The scenario of the problem is that there are 2 orchestration, one is main
orchestration and other is service provider orchestration. The design is
like
that main orchestration submits a control message in Message Box and
Service
Provider Orchestration picks the message from message box and process it.
Now
as there are more then one service provider orchestration I want to add a
filter expression at the receive shape of Service provider orch. To create
a
filter expression I created new property schema and add a new element
ServiceID in it and then set the "Property Schema base" as
MessageContextPropertyBase. I promoted this property in Main orchestration
using
myMessage(MyProject.MyPropertySchema.ServiceID) = "1"
before submitting myMessage to message box. Adding to this I also added
the
MyPropertySchema in list on Property schema list of MyMessage.
Now I added the filter expression in Receive shape of Service Provider
orchestration on the basis of ServiceID.
Now when i run this application i get the error "Exception occurred when
persisting state to the database." I think this is because ServiceProvider
orchestration is not able to pick the myMessage submitted by Main
orchestration.
Can anyone please help me on this......................
Thanks in advance