Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
n_thomasWJZ8L
367 Views, 5 Replies

How to write this as an external rule?

I am brand new to iLogic and VB in general, I am trying to write an external rule that modifies one parameter based on the value of another parameter. I figured out how to write the code to do this in an internal rule but I'm unsure how to reference parameters from a specific model into an external rule. Here is what I've written for the internal rule: 

 

If (LG = 17.9375) Then
    FTR_POS = DISTANCE_4
End If

If (LG > 35.9375) Then
    FTR_POS = DISTANCE_9
End If

If (LG > 17.9375 And LG < 35.9375 Or LG = 35.9375) Then
FTR_POS = DISTANCE_6 End If