Search found 51 matches

by billy.olvestad
Thu Nov 16, 2023 11:01 am
Forum: Flows
Topic: ".~#~_del_" temp folder names causing a headache
Replies: 4
Views: 8043

Re: ".~#~_del_" temp folder names causing a headache

Same problem here. No solution here either.
by billy.olvestad
Wed Jun 14, 2023 4:41 pm
Forum: Flows
Topic: Submit a job in Switch Portal
Replies: 1
Views: 1876

Re: Submit a job in Switch Portal

For me, when I start an upload it says 0%, and it never changes to any other percentage. When the upload is done however, it changes to a checkmark. I agree. A more precise progress bar is needed. I could have sworn that the progress bar used to count from 0 to 100 before, but I'm not totally sure o...
by billy.olvestad
Wed May 31, 2023 6:40 pm
Forum: Online proofing (PDF Review Module)
Topic: Dynamic value for timeout delay
Replies: 1
Views: 3902

Re: Dynamic value for timeout delay

In case someone has the same question, I just asked Enfocus support, and it is a known bug in PDF Review.
It will be fixed in the next version.
by billy.olvestad
Mon May 29, 2023 3:45 pm
Forum: Online proofing (PDF Review Module)
Topic: Dynamic value for timeout delay
Replies: 1
Views: 3902

Dynamic value for timeout delay

I am trying to set a dynamic value for timeout delay in pdf review, but whatever I set it always goes immediately to timeout. I have set unit to "days" and exclude weekends to "saturday, sunday", and then I am pulling a value from a database for "timeout delay". I have ...
by billy.olvestad
Fri Jun 10, 2022 5:25 pm
Forum: Node.js scripting
Topic: Variable Subject Line
Replies: 3
Views: 1841

Re: Variable Subject Line

You can do that without scripting. I have attached a sample flow that does this. First it separates the files on three branches. One for PDF-files, one for text files and one for all other types of files. Click the individual arrows and look at the property window. Under "include these jobs&quo...
by billy.olvestad
Tue May 24, 2022 10:37 am
Forum: Flows
Topic: Download files from Microsoft sharepoint
Replies: 6
Views: 4602

Re: Download files from Microsoft sharepoint

Hi Did you get a solution to downloading files from Sharepoint? I have just started investigating doing the same. I have need to download files from Sharepoint on a daily basis and send to print. Thanks Peter No, we had to give it up. We didn't have control over the sharepoint site because it belon...
by billy.olvestad
Tue Mar 22, 2022 2:36 pm
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 5696

Re: SOAP call with node.js

I gave up. I tried two different soap client libraries for node.js, but both of them had some sort of problem that prevented them from getting a response from this specific soap server, and other libraries were just too complicated to use for me. I found that you can do a soap request with powershel...
by billy.olvestad
Tue Mar 15, 2022 2:17 pm
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 5696

Re: SOAP call with node.js

I have tried to solve this problem, but no matter what I do the execution stops at this line const { response } = await soapRequest({ url: url, headers: Headers, xml: xml, timeout: 3000 }); The error, or rather warning I get (yellow colour in the messages window) is: Actions with jobs can not be per...
by billy.olvestad
Fri Feb 25, 2022 1:37 pm
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 5696

Re: SOAP call with node.js

Ok, I made the changes, and now it is reporting another error:
Actions with jobs can not be performed inside a 'jobArrived' entry point
It still executes the log of the word "one" to the switch log, so up until then it seems to execute
by billy.olvestad
Fri Feb 25, 2022 1:06 pm
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 5696

Re: SOAP call with node.js

It seems like something goes wrong at line 25, and the node.js step locks up, but the job goes on in the flow. I can't stop the flow before i have force quit the node.js service. Up until that line everything executes properly. There is an await statement on that line, so I don´t know why it doesn´t...
by billy.olvestad
Wed Feb 23, 2022 6:30 pm
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 5696

Re: SOAP call with node.js

I am stuck on an error in Switch when running my script. I am a beginner with node.js, so be kind to me :D The code is as follows (I have replaced server names and authorization with nonsense, of course) async function jobArrived(s, flowElement, job) { const soapRequest = require('easy-soap-request'...
by billy.olvestad
Tue Feb 22, 2022 2:51 pm
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 5696

Re: SOAP call with node.js

laurentd wrote: Tue Feb 22, 2022 12:05 pm The easiest option will be to use one of the npm packages for this.
https://www.npmjs.com/search?q=soap
Ok. Thanks, I will have a look at it.
by billy.olvestad
Tue Feb 22, 2022 11:46 am
Forum: Node.js scripting
Topic: SOAP call with node.js
Replies: 8
Views: 5696

SOAP call with node.js

Is there any examples of how to do a SOAP call with node.js in Switch?
I can't find any information about how you do this with node.js, only the old SOAP class for the old scripting environment.
I am completely new to node.js, but thought I should start learning with this specific task.
by billy.olvestad
Thu Feb 03, 2022 11:47 am
Forum: Flows
Topic: Download files from Microsoft sharepoint
Replies: 6
Views: 4602

Re: Download files from Microsoft sharepoint

Thanks, I will have a look at that.
by billy.olvestad
Wed Feb 02, 2022 4:14 pm
Forum: Flows
Topic: Download files from Microsoft sharepoint
Replies: 6
Views: 4602

Re: Download files from Microsoft sharepoint

Addition to the question. After these files have been indexed in a database, we want switch to be able to download just one of the files when an order for that particular print comes in, so we will also have to be able to download just one of the files from the sharepoint folder.