Search found 21 matches
- Mon Nov 21, 2022 8:07 pm
- Forum: Applications
- Topic: Ganging app - need beta testers
- Replies: 0
- Views: 27381
Ganging app - need beta testers
I've built an app to facilitate the ganging of jobs to be passed to an imposition system. Here is the basic description... App description GangByHierarchy creates collections or gangs of jobs based on the combination of job hierarchy values and an accumulated count of PDF pages or sheets, or a confi...
- Sun Nov 20, 2022 8:01 pm
- Forum: Imposition
- Topic: Ganging app - need beta testers
- Replies: 1
- Views: 15419
Ganging app - need beta testers
I've built an app to facilitate the ganging of jobs to be passed to an imposition system. Here is the basic description... App description GangByHierarchy creates collections or gangs of jobs based on the combination of job hierarchy values and an accumulated count of PDF pages or sheets, or a confi...
- Tue Oct 18, 2022 6:55 pm
- Forum: Node.js scripting
- Topic: mssql - async function or callback not finished
- Replies: 5
- Views: 3278
Re: mssql - async function or callback not finished
Adding wait - I tried up to 10 seconds - did not change result. When I run code directly from VSC, there was a pause before script completed before adding the pool.close() statement. Once I added that, the script completed immediately in VSC. However, adding it to Switch script did not eilminate the...
- Mon Oct 17, 2022 3:40 pm
- Forum: Node.js scripting
- Topic: mssql - async function or callback not finished
- Replies: 5
- Views: 3278
Re: mssql - async function or callback not finished
I patterned my code after this example... https://tediousjs.github.io/node-mssql/#asyncawait and if I run basically the same code from visual studio code it works fine. And, yes, I would definately wrap code in a try-catch. As I mentioned, I whittled the code down to the bare minimum for demonstrati...
- Sun Oct 16, 2022 10:41 pm
- Forum: Node.js scripting
- Topic: mssql - async function or callback not finished
- Replies: 5
- Views: 3278
mssql - async function or callback not finished
I'm getting this warning each time timerFired runs on an app I'm working on... The script execution has ended while an async function or callback in the script might not have finished yet. Please check the script code for unresolved promises or missing await statements. I've whittled the code down t...
- Tue Jul 26, 2022 3:41 pm
- Forum: Node.js scripting
- Topic: importing/require myclass.ts module
- Replies: 2
- Views: 3632
importing/require myclass.ts module
I'm creating my first app using TypeScript. I'm trying to import a class that I've created in a seperate .ts file that is at the root level with main.ts. I've tried using both of the following to import the file in main.ts... import * as myclass from './myclass'; const myclass = require( './myclass ...
- Tue Jan 25, 2022 8:33 pm
- Forum: Node.js scripting
- Topic: flowElement.getJobs() in flowStartTriggered entry point?
- Replies: 6
- Views: 5640
Re: flowElement.getJobs() in flowStartTriggered entry point?
When timerFired is called the very first time after a flow is restarted, if you call getJobs() you will get an empty list - even if there are actual jobs in the incoming connection. After timerFired is envoked, jobArrived is called for each job in the incoming connection which then re-populates the ...
- Tue Jan 18, 2022 7:30 pm
- Forum: Node.js scripting
- Topic: flowElement.getJobs() in flowStartTriggered entry point?
- Replies: 6
- Views: 5640
- Tue Jan 18, 2022 5:14 pm
- Forum: Node.js scripting
- Topic: flowElement.getJobs() in flowStartTriggered entry point?
- Replies: 6
- Views: 5640
Re: flowElement.getJobs() in flowStartTriggered entry point?
That was plan B. Since it would be adequate to make this check only at flow start up I was hoping to reduce the load on the server by not having to make the check every time timerFired was invoked. During our "peak" this app will have a number of instances running with around 20 to 30 thou...
- Mon Jan 17, 2022 11:01 pm
- Forum: Node.js scripting
- Topic: flowElement.getJobs() in flowStartTriggered entry point?
- Replies: 6
- Views: 5640
flowElement.getJobs() in flowStartTriggered entry point?
If I call flowElement.getJobs( ids ) in flowStartTriggered, the resulting jobs collection is empty. I've verified that I'm passing it a valid array of job ids. Has anyone gotten this to work? The documentation says... The flowStartTriggered entry point is executed before any jobArrived and timerFire...
- Fri Apr 01, 2016 11:03 pm
- Forum: Preflighting
- Topic: Merge XML into PDF.
- Replies: 2
- Views: 6618
Re: Merge XML into PDF.
We use xsl:fo to generate PDF output. All you need is a text editor and a rendering engine like the one from RenderX - about $400 for their XEPWin Desktop which is what we use. We use it to generate about 1400 pollbooks of 250 pages each for elections. Its a very robust and high performance solution...
- Fri Apr 01, 2016 10:54 pm
- Forum: Applications
- Topic: Files stuck in flows_SOLVED
- Replies: 3
- Views: 6713
Re: Files stuck in flows
Are you running any anti-virus software. We installed AV Defender and had jobs prefixed with ~.~ "stuck" in folders. Once removed everything starting working correctly. Curious if anyone out there has found a anti-virus solution that plays nice with Switch.
- Thu Feb 25, 2016 9:44 pm
- Forum: LEGACY scripting
- Topic: Variable email user name
- Replies: 1
- Views: 3343
Re: Variable email user name
If you are using Windows based Switch, you could use VBScript to create a Script element that uses CDO to send out your emails. That way you have complete control. Here's an example for sending through Office365. You'll have to adapt for Switch obviously. I've also done this using Gmail and an HMail...
- Thu Feb 25, 2016 9:11 pm
- Forum: Flows
- Topic: Switch 13 losing metadata between flows?
- Replies: 9
- Views: 7954
Re: Switch 13 losing metadata between flows?
I seem to have "reset" something in the flow by changing the "Strip unique name" setting from No to Yes and then running the flow - stopping the flow - and setting it back to No. It is now performing as expected. I'm thinking that Enfocus has a bug in their import flow that is no...
- Thu Feb 25, 2016 6:54 pm
- Forum: Flows
- Topic: Switch 13 losing metadata between flows?
- Replies: 9
- Views: 7954
Re: Switch 13 losing metadata between flows?
The one other variable is that my new server is running on Windows 2012 R2. The other 2 are on 2008 R2. If you are on Windows can you tell me what version?