Rules
Comments
-
I have a table (lookup) for statue statutes. I need to create a rule to bring in values (from a query) and calculate the statute of limitations expiration date for each account – which is then to be written back to the database.
This is the table :
I am passing in a date, and the residence state and the origination state. If a state does not have a borrower statute, then the output would be the date passed in plus the value in the SOLYears column for the state that is the residence state.
If the state does have a borrower statute, then the output is the minimum of either date passed in plus the value in the SOLYears column for the state that is the residence state OR date passed in plus the value in the SOLYears column for the state that is the origination state.
How do I do this in rules?
If I do a statement rule – then it appears I have to put in every combination of states – I don’t want to do that. Truth table appears the same way.
-
Hello!
One of the easiest ways you may be able to accomplish this task is to place the states into two separate lists; those that use a borrower statue and those that do not. You can then use a rule that checks the state against the list(s) and output the earliest date or the computed date based off of the result.
It will look something like this:
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions