Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5238 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is it possible to detect if a script was triggered from the client or the server? I'm thinking of something like:


Get ( ScriptOrigin )  // 0 = client and 1 = server

Thanks.

Posted

It's not totally clear to me what these functions will return when FMS is running the script:

Get(HostApplicationVersion)

Get(HostIPAddress)

Get(HostName)

Get(UserName)

One of those might be all you need.

Someone here probably has a definitive answer, but maybe this:

Get(SystemIPAddress) = Get(HostIPAddress)

Or, you could turn error capture on, perform a script step that's not compatible with Server, and test for Get(LastError).

Posted

Or, you could turn error capture on, perform a script step that's not compatible with Server, and test for Get(LastError).

Hmmm... that's interesting.

Posted

Is it possible to detect if a script was triggered from the client or the server?

Thanks.

The creator name ( user name) for a script run by a server schedule is the name of the schedule.

Posted

Thanks, Bruce, I knew there had to be something like that. Is this documented somewhere?

This topic is 5238 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.