Jump to content

Perform on server best practises document / white paper


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

Recommended Posts

LS,
 

I would like to know if there is a white paper / best practises document of perform script on server ? 

Specifically, I would like some tips on how to do debugging of scripts that perform on server. I have some scripts that run fine on client, no errors. No result on server.

 

TIA

Link to comment
Share on other sites

If your script is not performing as expected on the server, then it's either not getting data or unable to pass it back. FYI, globals have a different session life on the server, because it's a new session, so you can't use them as you would with a regular local script.

 

Are you talking about the Perform Script On Server script step or a scheduled server script?

Link to comment
Share on other sites

Use lots of error trapping and log each error in a log table.

 

Also make sure to do error handling around the PSoS call itself.  It can fail for two reasons: the server is out of PSoS sessions or the FMSE process has died.

Link to comment
Share on other sites

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