Search found 90 matches

by patej
Fri Oct 30, 2020 1:32 pm
Forum: Flows
Topic: Dummy Job Clock
Replies: 6
Views: 10098

Re: Dummy Job Clock

D'oh, of course... We've never had the need for those (or hadn't thought of using them at least) and the discussion began with constraints for the element so I didn't come to think of that... :roll:
Thanks for the correcting, Freddy!
by patej
Fri Oct 30, 2020 11:36 am
Forum: Flows
Topic: Dummy Job Clock
Replies: 6
Views: 10098

Re: Dummy Job Clock

The connection to Trash has include "All other". The script expression visible in the screenshot is for the "later than or same" condition and the "earlier than or same" condition would have otherwise the same, but with 23 in the setHours(): d.setHours(23); ––> so depen...
by patej
Tue Oct 20, 2020 3:17 pm
Forum: Flows
Topic: Error message from PitStop Server
Replies: 2
Views: 5879

Re: Error message from PitStop Server

We had this problem and it was only in 19u1. The problem seems to be solved in versio 2020 so I would recommend you to upgrade to that. Beore 2020 was released, we were given two options by the Enfocus support: 1) downgrade to version 19 2) lower the concurrent processing setting in Switch to below ...
by patej
Tue Oct 06, 2020 7:17 am
Forum: Flows
Topic: Definitions
Replies: 3
Views: 5740

Re: Definitions

Continuing from Jan's response, producer, processor and consumer are explained in the manual: https://www.enfocus.com/manuals/UserGuide/SW/20/home.html#en-us/common/sw/reference/r_connection.html : - Processor: Processes jobs and thus accepts incoming and outgoing connections. - Producer: Injects jo...
by patej
Mon Oct 05, 2020 10:25 pm
Forum: Flows
Topic: How to move files from one folder to another
Replies: 6
Views: 9541

Re: How to move files from one folder to another

I'm glad you got it working :-) The Set Hierarchy Path element lets you define into what hierarchy (folder structure) the file is stored with the Archive hierarchy element. You can define several levels of hierarchy with it, but your use case required only one, i.e. the first letter folder. This is ...
by patej
Mon Oct 05, 2020 9:48 pm
Forum: Flows
Topic: How to move files from one folder to another
Replies: 6
Views: 9541

Re: How to move files from one folder to another

Hi, Doesn't my suggestion work? In my screenshot I had an automanaged folder as the input folder, but naturally it would be a user-specified one, i.e. the folder which gets updated with new files over time. And yes, they will be moved, not copied to the output folder in the A..Z folders. Can you cla...
by patej
Mon Oct 05, 2020 8:31 pm
Forum: Flows
Topic: How to move files from one folder to another
Replies: 6
Views: 9541

Re: How to move files from one folder to another

Hi, Here you go: input folder –> set hierarchy path with single line text with variables set to [Job.NameProper:Case="upper",Segment="1,1"] –> Archive hierarchy with one subfolder level. https://www.dropbox.com/s/9ksdfjnfmf2ut54/Screenshot%202020-10-05%20at%2021.27.32.png?dl=1
by patej
Mon Oct 05, 2020 1:55 pm
Forum: Node.js scripting
Topic: NodeJS debugging
Replies: 11
Views: 20551

Re: NodeJS debugging

Yes I've had the same; if the node script itself breaks, i.e. the debugging session is terminated, Switch continues to wait for response and the Switch_Server process has to be terminated manually. After this the error you mentioned appears and the reason seems to be that Switch is still listening t...
by patej
Fri Sep 11, 2020 3:32 pm
Forum: Applications
Topic: Portals give warnings
Replies: 2
Views: 7865

Re: Portals give warnings

I would recommend you to try Switch2Switch (https://www.enfocus.com/en/appstore/product/switch2switch), which uses the remote processing feature introduced in Switch 2019. It is much faster and in my experience also more reliable than Portals. Despite its name you can also use it to transfer jobs wi...
by patej
Wed Jul 01, 2020 8:58 am
Forum: LEGACY scripting
Topic: RegExp problem, remove iframe
Replies: 9
Views: 17104

Re: RegExp problem, remove iframe

I also couldn't get it to work using regular expressions. I found an alternative way: Basically I split the text on the blockquote open and close tags and keep the parts which have even indexes in the splitted array. Thanks @Padawan, that's much cleaner and easier, somehow I just had my mind fixed ...
by patej
Tue Jun 30, 2020 12:03 pm
Forum: LEGACY scripting
Topic: RegExp problem, remove iframe
Replies: 9
Views: 17104

Re: RegExp problem, remove iframe

Hmm.. What's the result you get in Switch? I can't check right now myself, but looking at the code, one problem is that '.{3,8000}' matches everything after it, including </blockquote> so it will match text after that, too, if the character count allows. Unfortunately Switch scripts don't support lo...
by patej
Wed Jun 10, 2020 1:34 pm
Forum: Flows
Topic: HTTP Request Not Reliable
Replies: 11
Views: 27108

Re: HTTP Request Not Reliable

It might also be a good idea to log a feature request to Enfocus to have the "Retry failed external processes after " setting in a flow element basis. This way you would be able to use this (in my opinion dangerous) setting only on the flow element that requires it. The more people that r...
by patej
Wed Jun 10, 2020 12:54 pm
Forum: Flows
Topic: Dummy Job Clock
Replies: 6
Views: 10098

Re: Dummy Job Clock

Hi Jimmy, I agree that time constraint options would be a useful addition to it. With the current version, would a workaround work where Dummy Job Clock triggers every 5 minutes 24/7 and you then route the resulting file to Trash if current time is between 23:01 and 04:59? ;-) edit: had to try it my...
by patej
Fri May 15, 2020 9:00 pm
Forum: Flows
Topic: Flow groups disappearing
Replies: 3
Views: 5970

Re: Flow groups disappearing

We haven't had that problem in the more recent versions, either, but we still take backups of the file ‪C:\Users\[USERNAME]\AppData\Roaming\Enfocus\Switch Server\settings\flowsPaneLayout.xml ––> if the flow grouping gets cleared, restoring that file from the backup and restarting Switch restores the...
by patej
Wed Apr 29, 2020 11:55 am
Forum: Flows
Topic: Switch: sort jobs by file size
Replies: 3
Views: 6311

Re: Switch: sort jobs by file size

Hi Jürgen,

My pleasure, good to hear that you got it working :)

--patrik