I am following this tutorial: http://masteringbiztalkserver.wordpress.com/category/orchestrations/page/2/
But I am using the schema :ORM_O01_23_GLO_DEF.xsd and want to drop in different folders based on the value in ORC1, for example :
ORC1 = NA; drop files in folder A
ORC1 =SC; drop files in folder B
ORC1 = CA; drop files in folder C
I am getting "The expression you have entered is not valid." when I use the below expression:
RoleLink_1(Microsoft.XLANGs.BaseTypes.DestinationParty)= new Microsoft.XLANGs.BaseTypes.Party(Message_1.ORC_1_ControlOrder,"SomeId");
Role provider is consumer role and ORC1 is ID field
Any suggestions how to fix it? Biztalk specifically does not like this paramter: "Message_1.ORC_1_ControlOrder"
Hi,
You would have defined a party in the Biztalk Administration Console to be enlisted with the role link. Go to the Parties folder and look up the General properties for that party. You would see something like the following, shown in the screenshot below (note: some labels are blanked out due to privacy issues).
Take note of the values under the Qualifier and Value columns on the second line (e.g. "Email" for Qualifier, "OperationsSupport" for Value), and modify your line of code in your Expression (or Message Assignment) shape to read as following:
RoleLink_1(Microsoft.XLANGs.BaseTypes.DestinationParty)= new Microsoft.XLANGs.BaseTypes.Party("OperationsSupport","Email");
I hope this makes sense to you.
"Google skills are more important than your coding skills."
Thanks xman71.
I will try your suggestion and see if it works.
I tried your suggestion but it did not work. I get this error:
Identifier 'PartyNA' does not exists in Biztalk Orchestration.Are you missing an assembly reference?
Hi wonka,
Are you getting this error at compile time? This could be related to what is described in this blog:
sandroaspbiztalkblog.wordpress.com/.../identifier-retrycount-does-not-exist-in-myprojectnamespace-are-you-missing-an-assembly