Search found 122 matches
- Wed Aug 10, 2022 11:55 am
- Forum: Appstore
- Topic: Inject Wildcard moves job to problem jobs, instead of error connection
- Replies: 4
- Views: 12189
- Tue Aug 09, 2022 2:19 pm
- Forum: Appstore
- Topic: Inject Wildcard moves job to problem jobs, instead of error connection
- Replies: 4
- Views: 12189
Inject Wildcard moves job to problem jobs, instead of error connection
When my job repository field is wrong, the jobs is moved to problem jobs, instead of the error connection. Is this correct? Sometimes the repository is wrong in the data and I would like to send an email with the error. But since the job is moved to problem jobs, I have to add the send email element...
- Thu Mar 24, 2022 9:25 am
- Forum: Node.js scripting
- Topic: Rename files using csv
- Replies: 1
- Views: 2691
Rename files using csv
I have files in a folder, that i need to rename using a csv sheet. Is it possible to send a csv file to a switch script element so that it can open it, parse? the data, and change filenames based on the data? In the csv i have one column with a model name that i should compare to file names in the f...
- Mon Feb 28, 2022 3:30 pm
- Forum: Appstore
- Topic: Inject Wildcard error
- Replies: 0
- Views: 18675
Inject Wildcard error
Running Fall 2021, i get the following error: Creating job error: Internal server error Error: Creating job error: Internal server error at _0x3d68a1._createJob (C:\Program Files\Enfocus\Enfocus Switch\ScriptExecutor\nodemodules\node_modules\switch-scripting\index.js:2341:27) at processTicksAndRejec...
- Wed Feb 23, 2022 12:05 pm
- Forum: Appstore
- Topic: Portals app giving warning
- Replies: 0
- Views: 18203
Portals app giving warning
I am using multiple inputs and one output inside one flow. Everything works, but in the console i get the following warning:
Using Fall 2021- Tue Jan 18, 2022 8:42 am
- Forum: Flows
- Topic: Split XML based on field value
- Replies: 8
- Views: 7842
Re: Split XML based on field value
What my grand goal would be is to check which files exist from <orderedSizes>, remove those from the main xml and then send only the missing ones to printing. For this i would need to merge the xml again after eliminating the existing sizes from <orderedSizes>. I am sure it is not, but this sounds ...
- Mon Jan 17, 2022 3:03 pm
- Forum: Flows
- Topic: Split XML based on field value
- Replies: 8
- Views: 7842
Re: Split XML based on field value
You want to create an XML for each orderSize, so it is not correct to work with orderedSizes as a group. You have to address the individual orderedSize elements. <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <x...
- Mon Jan 17, 2022 7:51 am
- Forum: Flows
- Topic: Check if files exist inside folder, send mail if not.
- Replies: 9
- Views: 9230
Re: Check if files exist inside folder, send mail if not.
Please do not mix topics. If you want to contribute more on splitting XML's, create a new topic. As to the original topic of checking if files exist inside a folder there is now a new app: https://www.enfocus.com/en/appstore/product/scan-hierarchy Tried Scan hierarchy and ran into a problem. If Hie...
- Fri Jan 14, 2022 2:12 pm
- Forum: Flows
- Topic: Split XML based on field value
- Replies: 8
- Views: 7842
Re: Split XML based on field value
There is a tokenize function in XSLT2.0 which can be used to solve this, but you need a black belt in XSLT. I only have a green belt :lol: Do you have control over the structure of the XML because this is not the correct way of putting information into an XML? The proper way of structuring this in ...
- Wed Jan 12, 2022 4:02 pm
- Forum: Flows
- Topic: Split XML based on field value
- Replies: 8
- Views: 7842
Split XML based on field value
My XML looks like this: <?xml version="1.0" encoding="ISO-8859-13"?> <orderinfo> <customerID>6070426</customerID> <customerPath></customerPath> <orderID>XO0016184</orderID> <model> <modelNo>M800</modelNo> <modelName>Pants</modelName> <designID>7778888</designID> <orderedSizes>M,L...
- Wed Jan 12, 2022 1:50 pm
- Forum: Flows
- Topic: Inject Wildcard job repository error to Warning/Error connection?
- Replies: 5
- Views: 3207
- Mon Jan 10, 2022 1:44 pm
- Forum: Flows
- Topic: Inject Wildcard job repository error to Warning/Error connection?
- Replies: 5
- Views: 3207
Re: Inject Wildcard job repository error to Warning/Error connection?
Hello, I wrote Inject Wildcard. Can you please provide me the wrong symbols you know, so that I can reproduce this? è, also ™ was recognized as "" but i added that just for testing. for testing I used : øåÅl'å™æ.eè&Å Switch read it as øåÅl'åæ.e?&Å You can add an outgoing connect...
- Mon Jan 10, 2022 10:28 am
- Forum: Flows
- Topic: Inject Wildcard job repository error to Warning/Error connection?
- Replies: 5
- Views: 3207
Inject Wildcard job repository error to Warning/Error connection?
Sometimes, a Job Repository field that is taken from metadata, has symbols that are not readable for Switch. This gives the following error " Dynamic property 'hierarchyTopFolder' has invalid value " and the job is sent to problem jobs. Is it possible for this error to be sent to the error...
- Wed Nov 24, 2021 6:29 am
- Forum: Flows
- Topic: Check if files exist inside folder, send mail if not.
- Replies: 9
- Views: 9230
Re: Check if files exist inside folder, send mail if not.
What would be the best option to split xml. Saxonica ? I am using Saxonica for splitting xml. XSLT Example here: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xm...
- Tue Nov 23, 2021 11:12 am
- Forum: Flows
- Topic: Check if files exist inside folder, send mail if not.
- Replies: 9
- Views: 9230
Re: Check if files exist inside folder, send mail if not.
What would be the best option to split xml. Saxonica ?