Yesterday I got an interesting case when the policy successfully ran in a Designer simulation after deploying to the server delivered different results.
The deep investigation pointed me in the direction of ECMAScript engine "available" on this specific box.
For compatibility reasons with third-party product, this specific box still has eDirectory 8.8.8.11 and IDM 4.02.7.
Designer 4.8 detected eDir/IDM versions correctly but looks like for simulation use "new" ECMA.
I would like to detect ECMAScript Engine from my driver's policy and depend on this info to execute the "old" version of the ECMA function or the "new" version of the ECMA function.
Currently I "temporarily" started use my own GCV for this selection, but I would like to switch to "fully automated" ECMA Engine detection.
I hope that somebody is aware about the way to detect it (or in ideal situations, can share "ready to use" ECMA function). :)