InRule includes a selection of sample User Defined Functions, grouped in four categories.
String Functions
- Get List Item By Index
- Get List Item Count
- Get Text After
- Get Text Before
- Get Text Between
- Get Text Between Inclusive
- Is Found In List
- Parse Date String
- Strip Leading Text
- Load XML To Entity
- Count Words
- Do Strings Match
Rule Functions
- Are All Rules True By Rule Set Name
- Get Parent Rule
- Get Rule Condition
- Get Rule Name
- Get Rule Set Name
- Get Rule Sets With Category
- Get Current Rule Version
- Execute Rule Set By Rule Set Name
- Execute Rule Set By Rule Set Name With Parameters
- Execute Independent Rule Set By Rule Set Name
- Execute Independent Rule Set By Rule Set Name With Parameters
- Execute Fire Notification Rule Set
- Activate Rule Set by Rule Set Name
Schema Functions
- Is Field Valid
- Set Field Value
- Get Field Value
- Get Field Count From Def
- All Entity Fields Are Valid
- Get Entity Rule Set Names
- Get Entity Field Values
- Get Field Property
- Set Field Property
- List Properties
- Get Value From Value
- List Loop Through Collection
- Get Entity Display Name
- Get Field Attribute Value
- Create Dictionary
- Load Dictionary
- Get Dictionary Value
- Create Entity And Assign Values
- Is Daylight Saving Time
External Library Functions
These and additional samples are located in the InRule samples repository on GitHub. See Online Resources for more information. Some of the sample functions will require the assembly InvoiceObjects.dll, which is located in the Developer Samples\CommonBin direcory at that location.
Comments
0 comments
Please sign in to leave a comment.