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 4612 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a script sequence setup where if the "system script before" the FileMaker script fails, it should cancel the script sequence.

In my system script, upon error, I echo out a 1 thinking that this should stop the script sequence but it is not. When is succeeds, the script exits silently.

What should I do to have the pre script cancel the entire sequence?

Posted

use the exit command from a batch file and give it your non-zero exit code. From VBscript, use something like "wscript.quit 9"

Posted

Thank you Wim for getting me headed in the right direction. I simply replaced echo 1 with exit 1 and the scheduled script aborted as intended. ( I am using Bash )

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