did runtime.executionContext change? Previously ha...
# suitescript
w
did runtime.executionContext change? Previously had no issues with runtime.executionContext=='webservices' but documentation is showing exclusively 'runtime.executionContext==runtime.ContextType.WEBSERVICES'
s
Why would you use a hardcoded string instead of he enumeration?
w
eh. functional examples from early ss2?
a
That is why you need to use enums all the time because they are there exactly because the underlaying string could change.
w
Suite answer. Thanks.
🤭 1