Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, June 19, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: active scripts and agents
Duncan Cook
Posts: 164
 
active scripts and agentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Jul 06 8:58 AM
fiogf49gjkf0d
Is there any easy way to automate a script which will not run as an agent as the scrirpt relies on the application object, which doesn't work in an agent?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: active scripts and agentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 06 12:29 AM
fiogf49gjkf0d
I would never suggest to run the script unattended, but if you really have to you could always just programatically fire up SLX and use the SlxApplication object to fire the script then shut down SLX.

Messy and ugly, but would get the job done (in a really disgusting and awful way :laugh
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: active scripts and agentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 06 12:29 AM
fiogf49gjkf0d
Or you could just not use the Application object from the script you need to run automated.
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: active scripts and agentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 06 1:43 AM
fiogf49gjkf0d
Thanks, Ryan, this was for one of my colleague’s who has used the agent multiple times in the past for legacy script.
He expected the new active scripts would work in the same way!
In the end he re-wrote the script in the old legacy scripts

Thanks for your help.
--
Duncan
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: active scripts and agentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Jul 07 5:58 PM
Ryan,
I'm running into the same problem trying to use SLX Database Support in an agent that I'm running on the Sync Server.

It looks like I'm going to try to either fire up the SlxApplication and then shut it down or try not to use the application object. How would I fire up the SLX Application and shut it down and why wouldn't I want to do that?

Thanks!
Ian
[Reply][Quote]
Ted Urquhart
Posts: 7
 
Re: active scripts and agentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jul 07 5:14 PM
Given the frustration of not being able to run routines (legacy or vbScript) which open recordsets, we built our own Scheduler within SalesLogix. It allows our customers to select any established Legacy Script or ActiveScript (provided in dropdowns), and set which days to run, and at what times. Adding a few lines of code to the end of the routines, the Scheduler also provides a return to confirm time of completion, how long the routine took to run, and add/modify counts (datagrid).

If interested, send me an email address and I'll shoot you a screenshot.

Ted Urquhart
TASK
Raleigh NC
[Reply][Quote]
Brett Cruickshank
Posts: 4
 
Re: active scripts and agentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jul 07 6:39 PM
Ted,

Well done. I'd love to see that. We too have the issues you discussed and have created external solutions that go part way.

Can you send details to : brettc@crmstrategy.com.au

Thanks

Brett
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/19/2025 4:50:38 AM