Answered by:
How to use Biztalk Rule in Logic App

Question
-
I am trying to automate a process to read from a table from SQL server and pass the data to Biztalk Rules Engine and react based on the result. However I can’t pass the data over from SQL Server to Biztalk. I hope you can share with me some sample apps that doing the similar things.Monday, July 6, 2015 3:57 AM
Answers
-
Hi ,
I would suggest to create policy depending on your SQL data . below MSDN article will guide you with the steps
https://azure.microsoft.com/en-in/documentation/articles/app-service-logic-use-biztalk-rules/
Thanks
Abhishek
- Proposed as answer by Jeff Hollan [MSFT]Microsoft employee Tuesday, July 14, 2015 4:56 PM
- Marked as answer by Somashekar SK Wednesday, July 15, 2015 9:15 AM
Monday, July 13, 2015 5:03 AM
All replies
-
Greetings,
Please refer Working With BizTalk Adapter for SQL Server
Also below are the good reads,
Best Practices for the SQL Adapter , Building a Scalable Business Process Automation Engine Using BizTalk Server 2002 and Visual Studio .NET
Hope this helps.
Regards,
SomashekarTuesday, July 7, 2015 4:27 AM -
What is the issue that you are running into. The Rules documentation is at - https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-use-biztalk-rules/
Let us know if there are specific issues that you are running into.
Tuesday, July 7, 2015 5:28 PM -
This is my xml input
<Badge xmlns=\"http://tempuri.org/XMLSchema.xsd\">
<Header><ReqID>1</ReqID><Date>2015-07-03</Date></Header>
<Item><AchievementCode>A1</AchievementCode><YearsOfService>2</YearsOfService></Item>
<Point></Point>
</Badge>
The Biztalk rule should return the point value.
How can I get the result from
postResponse = httpClient.PostAsync("api/Policies/RewardPolicy?comp=Execute", httpContent).Result;
I would like to get the point value.
Wednesday, July 8, 2015 2:03 AM -
Hi Somashekar,
Thanks for your reply. I am referring to Biztalk rule service in Azure (Logic Apps) instead of the Biztalk Server. Do you have experience creating Logic App which uses Biztalk Rule Api Apps?
Wednesday, July 8, 2015 2:11 AM -
Hi ,
I would suggest to create policy depending on your SQL data . below MSDN article will guide you with the steps
https://azure.microsoft.com/en-in/documentation/articles/app-service-logic-use-biztalk-rules/
Thanks
Abhishek
- Proposed as answer by Jeff Hollan [MSFT]Microsoft employee Tuesday, July 14, 2015 4:56 PM
- Marked as answer by Somashekar SK Wednesday, July 15, 2015 9:15 AM
Monday, July 13, 2015 5:03 AM -
Yes, I did follow the article. As mentioned in my earlier post, I can call the API, but I cannot get the return result from httpClient.PostAsync.
Wednesday, July 15, 2015 6:59 AM