📄️ API Reference
These documents contain all the API information for the InRule for JavaScript SDK.
📄️ AuthoringMetadata
Metadata attached to elements in the rule application at authoring time.
📄️ inrule
Top level InRule JavaScript object.
📄️ Collection
Runtime representation of a collection. Accessed via Entity.getCollection(collectionName).
📄️ CollectionMember
Runtime representation of a Collection Member.
📄️ DataManager
Provides access to Inline Tables and Value Lists. This is accessed via the RuleSession.
📄️ Entity
An instance of an authored Entity whose state is maintained by the RuleSession.
📄️ Field
Runtime representation of a Field.
📄️ Notification
Represents a notification fired by the runtime engine from a Fire Notification action.
📄️ PassThruQueryParameter
A name/value pair representing a query value list pass-through parameter.
📄️ RuleExecutionLog
Log of actions the engine took during rule execution. Will only be populated if a JavaScript rule application was packaged with logging options.
📄️ RuleSession
Functions for creating entities and executing rules. Should always be created via inrule.createRuleSession()
📄️ RuleSet
Instance of an authored Independent Rule Set.
📄️ Validation
Represents a validation fired by the runtime engine from a Mark Field Invalid action.
📄️ ValidationReason
Represents a specific reason for a field invalidation.
📄️ ValueList
Represents an authored Value List datatype.
📄️ ValueListItem
A discrete item in a ValueList