Search found 358 matches

by Padawan
Thu Aug 06, 2020 11:47 am
Forum: PDF Creation
Topic: Failing on a project that seems very simple
Replies: 1
Views: 7266

Re: Failing on a project that seems very simple

Can you check in the Switch messages if the reason for the failing of the job is mentioned there? Something else you can try is to add a log out connection to the InDesign configurator (with "Error out" set to Yes), this will give extra information on why the job failed. If the screenshots...
by Padawan
Fri Jul 31, 2020 4:58 pm
Forum: Flows
Topic: [SOLVED] Using Switch for automatic OCR recognition?
Replies: 11
Views: 13026

Re: Using Switch for automatic OCR recognition?

Can you let the job move step by step thru the flow by placing connections on hold and this way test in which element the private data gets lost? You can check the contents of the private data via "Inspect jobs"
by Padawan
Fri Jul 31, 2020 12:25 pm
Forum: Flows
Topic: [SOLVED] Using Switch for automatic OCR recognition?
Replies: 11
Views: 13026

Re: Using Switch for automatic OCR recognition?

I've automated Tesseract before. It indeed has the limitation that you can only input jpeg files, which makes that you can't input multipage PDF's. However, you should be able to build a flow which solves this without any scripting: - Input folder where multi page pdf's are dropped - Remember the or...
by Padawan
Wed Jul 22, 2020 9:49 pm
Forum: Appstore
Topic: Beta testers requested for new "Flow Links" app
Replies: 14
Views: 28013

Re: Beta testers requested for new "Flow Links" app

No problem, no stress (in flows and in life) is always a good thing 🙂
by Padawan
Fri Jul 10, 2020 2:30 pm
Forum: LEGACY scripting
Topic: How to easy API Call
Replies: 4
Views: 7817

Re: How to easy API Call

Can you try this? theHTTP.authScheme = HTTP.ProprietaryAuth; theHTTP.addHeader( "Authorization", "Bearer 6666666666666666666666666666666"); When you get this error: No matching slot found_ available overloads are Then you are not providing the right amount of arguments in the fun...
by Padawan
Fri Jul 10, 2020 1:02 pm
Forum: Appstore
Topic: Beta testers requested for new "Flow Links" app
Replies: 14
Views: 28013

Re: Beta testers requested for new "Flow Links" app

Can you try the following when the issue happens again? 1) Check if it is not a refresh issue in Switch Designer. When you have a job before the Flow Links Send element which is not moving, right click the folder element while holding the shift key and choose "Open inExplorer". Do you also...
by Padawan
Tue Jul 07, 2020 6:55 pm
Forum: Appstore
Topic: Beta testers requested for new "Flow Links" app
Replies: 14
Views: 28013

Re: Beta testers requested for new "Flow Links" app

What is considered "under stress" will be different for each system. However, I think the hold job has a big chance to help. Which Switch version are you using? I had a lot less issues with 19 fall. ( I didn't do stress tests with 20 spring yet) If you have the issue in Switch 19 fall or h...
by Padawan
Fri Jul 03, 2020 8:43 pm
Forum: Appstore
Topic: Beta testers requested for new "Flow Links" app
Replies: 14
Views: 28013

Re: Beta testers requested for new "Flow Links" app

At wich rate does the retry happend? is there a way to handle this? (via a property in a future version maybe?) Because i have some "ungroup job" in a first flow, and an re-assemble job in the next one. In order to set the orphan time-out properly it's important for me. The retry is a tim...
by Padawan
Thu Jul 02, 2020 2:44 pm
Forum: Appstore
Topic: Beta testers requested for new "Flow Links" app
Replies: 14
Views: 28013

Re: Beta testers requested for new "Flow Links" app

The dummy file is a technical necessity because I work with webhooks for messaging. My testing showed that when the system is under stress the arrival of webhook events can be delayed or not happen at all. Therefore there is a retry mechanism in the Flow Links Apps. The app should retry to cleanup d...
by Padawan
Wed Jul 01, 2020 12:08 pm
Forum: Switch
Topic: Stopping flows/Force Quit not working
Replies: 2
Views: 4139

Re: Stopping flows/Force Quit not working

Firstly: when you are using the Adobe configurators in Switch on Windows, then Switch will only be able to connect to them when Switch starts them. When you start the Adobe applications manually, then Switch won't be able to connect and the task will keep on running endlessly. When the issue happens...
by Padawan
Wed Jul 01, 2020 8:25 am
Forum: LEGACY scripting
Topic: RegExp problem, remove iframe
Replies: 9
Views: 11135

Re: RegExp problem, remove iframe

I also couldn't get it to work using regular expressions. I found an alternative way: var theBodySplitted = theBody.split(/<\/?blockquote>?/); var theResult = ""; for (var i=0;i<theBodySplitted.length;i++) { // Check if index is even if (i%2 == 0) { theResult = theResult + theBodySplitted[...
by Padawan
Tue Jun 30, 2020 7:08 pm
Forum: LEGACY scripting
Topic: ninox API query Endpoint URI Encoding
Replies: 6
Views: 7786

Re: ninox API query Endpoint URI Encoding

The ninox api documentation mentions that executing a script can be done both using the GET method and using the POST method. The uri encoding part is mentioned in the documentation with the GET example, and it seems logic to me that it is only relevant for GET requests because in GET requests param...
by Padawan
Wed Jun 17, 2020 3:56 pm
Forum: Switch
Topic: Any way to show logs in messages longer than two days?
Replies: 3
Views: 4297

Re: Any way to show logs in messages longer than two days?

It is possible to setup Switch to keep the log messages for longer then two days. However, that means that the messages database will get bigger. The bigger it is, the slower searching in it is and the slower it is for Switch to write messages to it, resulting in production impact. I would certainly...
by Padawan
Mon Jun 15, 2020 8:16 pm
Forum: LEGACY scripting
Topic: Very Simple String output via Switch Javascript-Expression
Replies: 3
Views: 4524

Re: Very Simple String output via Switch Javascript-Expression

Hierarchies are a complicated subject, even without combining it with scripting. If you haven't done so already, it might be a good idea to check the enfocus e-learnings on hierarchies. i understand but one way to use the "Submit hierarchy" is to select a "special named Subfolder"...
by Padawan
Mon Jun 15, 2020 2:52 pm
Forum: LEGACY scripting
Topic: Very Simple String output via Switch Javascript-Expression
Replies: 3
Views: 4524

Re: Very Simple String output via Switch Javascript-Expression

When you are using a script expression in the submit hierarchy, then you don't have to return a name like you do in the regular editors. Instead, the script expression is called for each file which is scanned. The job object links to the file which is being scanned. The script expression should retu...