Message 1 of 2
Check a parameter which isn't always there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
i have a problem with my iLogic rule. I have to check a Parameter wich isn't always there. It is created an deleted by another rule.
So my code looks likes this:
'Use the parameter wich is there or not to set Pos_1
Parameter.Quiet = True
Pos_1 = Parameter("PositionOne_1")
' Check if position parameter has changed
If Not Pos_1 = Pos_MemoryEL1 Then
Mode = 1
End If
' Set memory parameter again
Pos_MemoryEL1 = Pos_1
So my problem is that the rule dont react to parameter changes when i use the first two lines
Parameter.Quiet = True
Pos_1 = Parameter("PositionOne_1")
Is there a better solution to check a parameter wich could be there or not?