.NET assembly in business rule engine. Please help urgently !

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › .NET assembly in business rule engine. Please help urgently !

Viewing 1 reply thread
  • Author
    Posts
    • #21660

      Hello There, 
      I have been trying to use a .NET assembly in business rule, but 
      neither I’m getting desired output nor any errors. 

      my rule looks like: 
      I’m using two different schemas. 
      Schema1.Qty (string type storing 10.4 as value) 
      Schema1.ID (string type storing FD2543) 
      Schema1.Amount (string type) 
      Schema2.UnitPrice (string type storing 5.5 as value) 
      Schema2.ID (string type storing FD2543) 

      if Sch1.ID == Sch2.ID then 
        Sch1.Amount = (Sch1.Qty * Sch2.UnitPrice) 

      //but obvious the above multiplication will not work, as all are 
      string types. 
      I made a small assembly which converts the Qty & UnitPrice into double 
      and return the amount in string. 
      It’s not working, please help urgently.

      Thanks a tonne in advance.

      harry

    • #21661

      is there any one who can help me ?[:(]

      • #21665

        When you call the rule, do you create an instance of you .NET class and pass to this t the rule as a parameter?

        • #21670

          Hello Greg,

          Thanx for the reply. I beleive you are talking in terms of orchestration where as I am talking in terms of BRE (business rule) !!

          Please reply..!!

          • #21754

            I got it, just need to add a registry entry

            at HKLM\Softwares\Microsoft\Business Rules\3.0\

            Add “StaticSupport” a DWORD value = 1.

            [Y]

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.