Hi all,
im trying to develope a solution where my orchestrations are all loosely coupled. There are no start/call shapes, everything is glued together by being directly bound to the message box.
I have a MessageState context property that is a MessageContextPropertyBase in my Propery schema. The values for this are:
STATE1-> STATE2-> STATE3
I wanted to use this to flow messages between different orchestrations. I thought I had it all sussed until…
The Problem:
If i start an orchestration with a recieve shape, I can set a filter on my context property. However, if an orchestration is already started and I want to recieve a message half way down, I cannot figure out a single way to “filter” on the MessageState field.
1) My orchestration (a) gets a message in STATE1, converts it to STATE2 and then publishes back to the messagebox.
2) Another orchestration (b) picks it up, converts to a STATE3 and publishes back to the message back.
3) How in the original orchestration (a) is it possible to be waiting for a STATE3?? As for as I can understand, my correlation is waiting on a STATE2, how do I change to want a STATE3?
Any help would be greatly appreciated.
Kind regards
Tarun