AnsweredAssumed Answered

WebDirect script performance? Get(SystemPlatform)

Question asked by bigtom on Aug 1, 2016
Latest reply on Aug 1, 2016 by Johan Hedman

I noticed something today that was odd. I have a script trigger on an object. It runs a PSOS, but WebDirect was getting a flashed dialog of Please Wait While Script is Running.

 

So I setup an If (Get(SystemPlatform) = 4) in the script to run the script locally without PSOS. Still had the flashing dialog. I copied the object and set the trigger to run the local script directly without the If (Get(SystemPlatform) = 4) and no dialog flashing.

 

The IF step seems to be an issue. Is it just system platform? Should I use something else that evaluates faster? Creating two objects and hiding one based on platform seems to provide a better user experience. Not exactly what I expected.

Outcomes