Jump to content
Sign in to follow this  
Lem Alpha

Server-side "Call Script..." Function

Recommended Posts

Hi there,

in a scheduled server-side script, I'm trying to launch another script by specifying its name.

I tried to achieve this by using the CallScriptImmediately function.

The problem is the function returns "ERROR", and in the log I can see :

GRAVE: PluginFunction PluginFunction{name='CallScriptImmediately'} got an error with converted args [my_file_name, Mail Test 02, null]

com.prosc.fmkit.FmScriptException: Error 100: There is no file open named 'my_file_name'

my_file_name is correct, it has been set using Get (FileName).

Am I doing something wrong ?

Win7 / FMS11 / SM 4.122 (I know it's not the last version, but I can't stop the DB server to update it till tonight)

Thanks a lot !

Share this post

Link to post
Share on other sites

We really haven't tested this module in the context of FM Server. It sounds like you should be able to use FileMaker's "Perform Script" script step to fire the second script from the initial scheduled script.

Share this post

Link to post
Share on other sites

Yup, but my problem was to launch a script by calculated name...

(sorry if this wasn't clear)

So I'll try some other way, thanks for your answer. ;)

Share this post

Link to post
Share on other sites

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

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:

Important Information

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