Search found 378 matches

by magnussandstrom
Mon May 20, 2024 3:00 pm
Forum: Preflighting
Topic: Order of preflight and actions in pitstop server?
Replies: 4
Views: 211

Re: Order of preflight and actions in pitstop server?

For Action Lists I'm pretty sure they run from the top down when you add multiple in Switch. But for preflighting you can only add one for each configurator. Could you provide some examples of what you are trying to do?
by magnussandstrom
Thu May 16, 2024 8:34 am
Forum: Flows
Topic: Retrieving metadata from SOAP Wrapper
Replies: 2
Views: 93

Re: Retrieving metadata from SOAP Wrapper

Hi, I tried to pickup a SOAP-wrapped XML with XML pickup and I'm getting a similar result as you. To fix this I used the Saxon-app to convert the SOAP-xml to a generic XML using XSLT. I use ChatGPT to create the XSLT-code. This is an example of the XSLT that works in my case: <?xml version="1.0...
by magnussandstrom
Wed May 08, 2024 5:01 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

Well, good luck on your Switch journey Tom.
by magnussandstrom
Wed May 08, 2024 12:54 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

This is an example of a file name that would be dropped into the hot folder that contains a job name: 037984-24_001_8-C-Y.pdf The Job Name is 037984-24 The Job number is 037984 and the production year is 24 for 2024 the last digit of the Job number determines which server it will be homed to as the...
by magnussandstrom
Wed May 08, 2024 12:46 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

http.png
http.png (100.6 KiB) Viewed 291 times
by magnussandstrom
Tue May 07, 2024 10:39 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

By looking at the script I guess you are doing the following: 1. Fetch a job number containing 6 digits followed by a dash and two more digits from filename 2. Fetch the 6th digit in that job number as case 3. Use that case digit to set the URL If that's correct - here is a flow that does that using...
by magnussandstrom
Tue May 07, 2024 9:48 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

teetomterrific wrote: Tue May 07, 2024 8:12 pm Here you go
Thanks, could you also provide a couple of example jobnames?
by magnussandstrom
Tue May 07, 2024 7:17 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

The script does more than send the Post. It also determines which Server out of 5 the POST needs to be sent to and formats the server URL by using Regular Expressions to pull the last digit of the Job name to a select case for the server. I understand your frustration, but we are just trying to hel...
by magnussandstrom
Tue May 07, 2024 2:53 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

Why bother with a script when there is an out of the box solution?
freddyp wrote: Thu May 02, 2024 11:36 am 5: you can avoid the use of a script expression by using v20 of HTTP request and choosing "POST a body - Input job".
by magnussandstrom
Tue May 07, 2024 2:50 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 50
Views: 1063

Re: Compose XML for HTTP POST using file in hot folder

On the output folder there is a property called 'Strip unique name' set that to 'Yes'.
by magnussandstrom
Thu May 02, 2024 4:43 pm
Forum: Griffin
Topic: Griffin Step anf Repeat
Replies: 5
Views: 428

Re: Griffin Step and Repeat

Egon wrote: Thu May 02, 2024 4:06 pm That's a shame. :|

Wouldn't it be simple to implement this?
For example: Quantity="0" is filling layout with minimal waste.
Yes, one could think so. My guess is that Tilia cripples Griffin a bit because of the fear of competing with Phoenix.
by magnussandstrom
Wed May 01, 2024 9:25 pm
Forum: Griffin
Topic: Griffin Step anf Repeat
Replies: 5
Views: 428

Re: Griffin Step anf Repeat

Is there also a command that Griffin recognizes and simply fills the sheet with minimal waste without entering the quantity? No :( We would also like to do this when it comes to certain jobs. For example SRA3 digital print jobs that are beeing cut in a sheetfed digital die cutting machine and where...
by magnussandstrom
Mon Apr 29, 2024 10:51 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 14
Views: 1116

Re: JSON - list of files [SOLVED]

JimmyHartington wrote: Fri Apr 26, 2024 12:12 pm I just tested with one of my flows and got it to work.
Like you with a xslt created with the help of ChatGPT.
Great to hear Jimmy! Another nice thing with using Saxon in Switch is that you get very useful information in Messages if anything fails.
by magnussandstrom
Wed Apr 24, 2024 1:20 pm
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 14
Views: 1116

Re: JSON - list of files [SOLVED]

This helps in understanding how. I have not worked with XLSTs in Switch before. It seems a bit daunting to write XLST, but maybe with the help of AI and testing it could work. Some of my flows could surely be optimized in some cases by using XLSTs instead of some of my workarounds. XSLT is very pow...
by magnussandstrom
Wed Apr 24, 2024 8:01 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 14
Views: 1116

Re: JSON - list of files [SOLVED]

JimmyHartington wrote: Tue Apr 23, 2024 3:36 pm Ok.

And how do you process the XML with the XLST using Saxon?
I hope that helps Jimmy? Have you been working with XSLT in Switch? And if so how?