Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted (edited)

Howdy, howdy...

I'm curious why this simple script won't run via PSoS; the script works fine when fired from a client machine. I have the "Show compatible script steps by product" set to Server--none of the steps are flagged to cause any grief, so...?

On edit: When manually triggered while in the Admin Server Console ("Run Now"), it "succeeds" but doesn't while viewing the file on a client machine.

TIA in advance for your comments.

FMS Script.pdf

Edited by Rich S
Added note
Posted (edited)

I think you may not be aware of how server-side scripts work. Each such script is run in its own session, having its own context. A script like the one you posted, that does nothing except establish a context, accomplishes nothing as far as the client calling it is concerned - see: https://help.claris.com/en/pro-help/content/running-scripts-on-server.html

Judging from the comments, I suppose what you actually want to do here is to make the script to run at the specified interval on the client machine: https://help.claris.com/en/pro-help/content/install-ontimer-script.html. Although I am not sure your users will appreciate being taken off the current record.

 

Edited by comment
  • Like 1

This topic is 448 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.