Search found 38 matches

by automation
Fri May 21, 2021 11:41 am
Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
Topic: Search for shorter words is ignored.
Replies: 0
Views: 1557

Search for shorter words is ignored.

The search in the forum ignores shorter words, which in many cases makes it useless. If I want to convert an XML to an Excel and search for "XML to Excel", I get the result.

Search: +Excel
Ignored: "XML" and "to"

I'm not just interested in Excel!
by automation
Tue May 04, 2021 1:54 pm
Forum: LEGACY scripting
Topic: Loop XML with namespace is not working
Replies: 2
Views: 256

Re: Loop XML with namespace is not working

Thanks it worked!
by automation
Tue May 04, 2021 12:48 pm
Forum: LEGACY scripting
Topic: Loop XML with namespace is not working
Replies: 2
Views: 256

Loop XML with namespace is not working

I have this XML with namespace and I want to get e.g all the numbers in the Number tag. But the loop is not working with the namespace. I need to use a loop like this because I'am doing other stuff as well in the loop. <xx.yy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="...
by automation
Mon May 03, 2021 4:54 pm
Forum: LEGACY scripting
Topic: Export CSV file?
Replies: 0
Views: 340

Export CSV file?

I loop an XML and for each criterion that matches I want to add it to a csv file. How can I create and export what matches to a CSV file in Switchscripter with code?
by automation
Thu Apr 29, 2021 9:24 pm
Forum: LEGACY scripting
Topic: Any problems to loop XML with 15K lines?
Replies: 1
Views: 273

Any problems to loop XML with 15K lines?

I have two XML:s, XML 1 with 200 lines and XML 2 with 15.000 lines. I need to compare every specifik node in XML 1 with every specifik node in XML 2. I do this with in nested foreach loop in PowerShell today and it takes less than a second. How can Swithscripter handle this? Something like this fore...
by automation
Thu Apr 29, 2021 1:51 pm
Forum: Flows
Topic: Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
Replies: 3
Views: 415

Re: Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?

laurentd wrote:
Thu Apr 29, 2021 1:39 pm
In Switch 2018, you need the Configurator Module to use Execute Command.
Execute Command is now part of the Switch Core Engine since Switch 2019 Fall.
Is "Configurator Module" part of Switch 2018 or in appstore? Can't find it when I search in in Switch.
by automation
Thu Apr 29, 2021 1:30 pm
Forum: Flows
Topic: Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
Replies: 3
Views: 415

Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?

We use Switch 2018 and I want to run a Windows *.bat-file. I have read that many recommend "Execute Command". However, I can not find it in Switch among the tools and not when I seach in Enfocus Appstore.
by automation
Thu Apr 29, 2021 1:19 pm
Forum: Switch
Topic: Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
Replies: 1
Views: 2144

Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?

We use Switch 2018 and I want to run a Windows *.bat-file. I have read that many recommend "Execute Command". However, I can not find it in Switch among the tools and not when I seach in Enfocus Appstore.
by automation
Tue Feb 09, 2021 9:12 am
Forum: Flows
Topic: Clean up files/folders after X days from network drive/folder?
Replies: 2
Views: 690

Clean up files/folders after X days from network drive/folder?

I save files and folders on a network drive (shared internal network). Now I want to clean up/delete all files/folder older than X days. This should be automatic, e.g only keep files/folders 30 days. I have only found this, but "The root folder must be a local folder, network folders are not allowed...
by automation
Fri Oct 30, 2020 11:24 am
Forum: Flows
Topic: Dummy Job Clock
Replies: 6
Views: 2587

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 m...
by automation
Mon Sep 28, 2020 11:55 am
Forum: Applications
Topic: Inject dummy job with more selectable intervals
Replies: 0
Views: 1664

Inject dummy job with more selectable intervals

I am looking for a module with more selectable intervals to inject a dummy job. For example, two specific days a week, at the end of a month, specific times on certain days, etc. Is there one. You should also not have to change the configuration when you stop the flow (e.g set a new start time). I f...
by automation
Wed Sep 09, 2020 11:29 am
Forum: LEGACY scripting
Topic: loop xml nodes?
Replies: 3
Views: 1579

Re: loop xml nodes?

To get to the "code" nodes you need to use this Xpath expression: /Orders/Order/Product/code Then to loop through them your for loop needs to start from 0 and you need to use the getFirstChild() function to be able to get to the value of the node. See below code that loops through logs the "code" n...
by automation
Wed Sep 09, 2020 10:12 am
Forum: LEGACY scripting
Topic: loop xml nodes?
Replies: 3
Views: 1579

loop xml nodes?

I have this XML. How can I loop the XML and get all values in <code>? <?xml version="1.0" encoding="UTF-8"?> <Orders> <Order> <Product> <Line_Id>1</Line_Id> <Product_Id>9831</Product_Id> <Name>Pontus</Name> <Qty>1</Qty> <code>AAAAA</code> </Product> <Product> <Line_Id>2</Line_Id> <Product_Id>9831</P...
by automation
Wed Sep 02, 2020 10:32 am
Forum: LEGACY scripting
Topic: Script expression isFolder not working
Replies: 0
Views: 1504

Script expression isFolder not working

Wen I use below my folder in "Folder 1" is not going to "Folder 2". Why? My goal is. If Folder 1 contains a s folder, I want to get the the folder name in a variable and use it later in SwitchScripter. The folder should to to "Folder 2" If Folder 1 have a file (not a folder), I want a default value ...
by automation
Thu Aug 27, 2020 7:52 pm
Forum: LEGACY scripting
Topic: Pass in/out path to jar file with switchscripter?
Replies: 2
Views: 1239

Pass in/out path to jar file with switchscripter?

I have a Java JAR file i execute with switchscripter. The JAR file need two parameters, in, the folder before, and out next folder. File in to the jar file is not the same as out from JAR, it's a modified copy. I need to pass the copy to the next folder and trow away the original input file. How sho...