Getting Data Using a .NET Method

  • Updated

Many organizations use a “.NET layer” to handle the communication between applications and their databases. For those situations, rule authors can use functionality in irAuthor that allows them to execute a .NET method. irAuthor provides the ability to setup user-friendly business language that can be used to execute the .NET method. In that way technical users are able to provide business- user-friendly access to traditionally technical functionality.

InRule supports being able to setup references to static and instance methods.

This example will use the previous example of determining if a customer gets free shipping based on their loyalty status by performing a search of this table via a .NET method:

mceclip44.png

For this scenario, once a technical user has setup the reference to the method, they can change the template text for the method to make the method reference more useable. Following that, a business user can use the method reference in the following ways:

.NET Method call in Business Language

mceclip45.png

.NET Method Call in Syntax

mceclip46.png

.NET Method Call using the Execute Method Action

mceclip47.png

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.