1 Reply Latest reply on Oct 2, 2014 9:47 AM by philmodjunk

    Perform Script On Server



      Perform Script On Server


      I have a script I'm running on the server, that sends out smtp emails based on the content of the record. The problem is the email i end up getting is based on the first record created not the last? Anyone ever experience this before?

        • 1. Re: Perform Script On Server

          PSOS scripts are a different kettle of fish from just running the script "client side". The script won't have the same context--the found set, current record and sort order you see on your client machine's screen is info not available to the script running on the server. So you need to pass data in a script parameter that you PSOS script can us to find the needed data, recreate a found set or whatever is needed prior to sending out that email.