I'm trying to click a button, consider the surrounding data, and set a field to a value based on that consideration.
Two ways to go:
Put the logic in the script
If (Status = Open)
SetField (Action ; "pursue")
If (Status = "Closed" and Date < Get(CurrentDate))
SetField( Action ; "Closed Early")
Put the logic in the SetField step
Status = open ; "Pursue" ;
Status = closed and Date < Get(CurrentDate) ; "closed early" ; ....etc.
Both work fine, both are simple...which way do you typically use...and why?
- Multi-programmer environment for clarity?
- Sheer preference?
- keeping open the option for Get(ScriptParamater) ?