Issue with the add parameters in Call Rule Shape

This article is to trouble shoot the issue with the add parameters in call rules shape, writing this so that I can go back to this post for resolution.

1- Create Rule as per below using XSD in BizTalk Server BRE composer


2- Deploy the rule and restart the Rules Engine.

3- Go back to the solution, create message and add call rule shape, select the rules. You probably not able to see the parameters to add.

You will see the below screen. There is no option to add an input message to the rules.


4- After browsing, found that it happens because, the document type property for the schema in the facts explorer (as shown below ) was different from the qualified name of the schema.


5- So I modified Document Type property of the schema in the BRE composer to the fully qualified name as in the BT Project.

6- Then the parameter appeared in the call rules shape.

The issue is that, in the beginning, Call Rules shape was not able to find any matching Message to the Schema which is deployed with the Rule.

Since I modified the schema in BRE with the Fully Qualified Name of the BizTalk solution, it found a matching message and displayed in the Call Rules Shape.