Search found 79 matches
- Tue Jan 26, 2021 5:34 pm
- Forum: Flows
- Topic: Single Line Text with Variables
- Replies: 7
- Views: 5175
Re: Single Line Text with Variables
Hi, If I understood you correctly that you already have "D200303XM_Memorial_Day_Holiday_Assets" in the hierarchy index 2 and you want to use single line text with variables to get "Memorial_Day_Holiday_Assets", then you can use the Segment field and set it to use characters e.g. ...
- Tue Jan 19, 2021 11:37 pm
- Forum: Flows
- Topic: Output folder name
- Replies: 5
- Views: 5653
Re: Output folder name
Hi,
For the Path Segment 2 you need [Job.Extension] (or [Job.Extension:Case="upper"] if you want to ensure uppercase names GIF/PNG/JPG).
[Switch.ElementName] gives you the name of the current flow element, e.g. "Set Hierarchy Path" or "Folder 123".
For the Path Segment 2 you need [Job.Extension] (or [Job.Extension:Case="upper"] if you want to ensure uppercase names GIF/PNG/JPG).
[Switch.ElementName] gives you the name of the current flow element, e.g. "Set Hierarchy Path" or "Folder 123".
- Wed Dec 09, 2020 11:07 am
- Forum: Flows
- Topic: Where do I find the installer for Switch 2020 fall?
- Replies: 3
- Views: 3728
Re: Where do I find the installer for Switch 2020 fall?
Yes same happened with me; sorry I forgot to mention that, but good that you found the links! Next time Enfocus could consider changing the template a bit more to distinguish the two because I'm pretty sure most users with maintenance contract have also subscribed to Enfocus' general marketing e-mai...
- Wed Dec 09, 2020 10:48 am
- Forum: Flows
- Topic: Where do I find the installer for Switch 2020 fall?
- Replies: 3
- Views: 3728
Re: Where do I find the installer for Switch 2020 fall?
You should've received an e-mail yesterday from marketing@enfocus.com with the title "Magnus, discover Switch 2020 Fall" – There is a Download installers subtitle with links to Mac and Win versions.
edit. you of course have to have a valid maintenance contract to get the links...
edit. you of course have to have a valid maintenance contract to get the links...
- Fri Oct 30, 2020 1:32 pm
- Forum: Flows
- Topic: Dummy Job Clock
- Replies: 6
- Views: 6835
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...
Thanks for the correcting, Freddy!
Thanks for the correcting, Freddy!
- Fri Oct 30, 2020 11:36 am
- Forum: Flows
- Topic: Dummy Job Clock
- Replies: 6
- Views: 6835
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...
- Tue Oct 20, 2020 3:17 pm
- Forum: Flows
- Topic: Error message from PitStop Server
- Replies: 2
- Views: 3591
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 ...
- Tue Oct 06, 2020 7:17 am
- Forum: Flows
- Topic: Definitions
- Replies: 3
- Views: 3623
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...
- Mon Oct 05, 2020 10:25 pm
- Forum: Flows
- Topic: How to move files from one folder to another
- Replies: 6
- Views: 5967
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 ...
- Mon Oct 05, 2020 9:48 pm
- Forum: Flows
- Topic: How to move files from one folder to another
- Replies: 6
- Views: 5967
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...
- Mon Oct 05, 2020 8:31 pm
- Forum: Flows
- Topic: How to move files from one folder to another
- Replies: 6
- Views: 5967
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
- Mon Oct 05, 2020 1:55 pm
- Forum: Node.js scripting
- Topic: NodeJS debugging
- Replies: 11
- Views: 11219
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...
- Fri Sep 11, 2020 3:32 pm
- Forum: Applications
- Topic: Portals give warnings
- Replies: 2
- Views: 4732
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...
- Wed Jul 01, 2020 8:58 am
- Forum: LEGACY scripting
- Topic: RegExp problem, remove iframe
- Replies: 9
- Views: 11132
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 ...
- Tue Jun 30, 2020 12:03 pm
- Forum: LEGACY scripting
- Topic: RegExp problem, remove iframe
- Replies: 9
- Views: 11132
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...