Anybody found a solution for this?
@schmitzdp could you please share what adjustment you did on the code to make this work?
Search found 9 matches
- Tue Sep 13, 2022 12:53 am
- Forum: Applications
- Topic: Activation "AWS S3 Download"
- Replies: 9
- Views: 22748
- Mon Mar 14, 2022 10:48 pm
- Forum: Node.js scripting
- Topic: job.log function doesn't run
- Replies: 6
- Views: 3405
Re: job.log function doesn't run
Thank you @patej for the suggestion. @freddyp Thank you for your feedback. In regards to await in jobArrived function yes i forgot to write it due to rush, and I also aware of the script doesn't send job to an output. I was trying to debug that is why I used logs. I've tried adding the job variable ...
- Sat Mar 12, 2022 5:48 am
- Forum: Node.js scripting
- Topic: job.log function doesn't run
- Replies: 6
- Views: 3405
Re: job.log function doesn't run
Thank you for your reply.
I tried that but still doesn't work.
I made functions of (err,result) as async so I could use await for the job.log() function but unfortunately the issue still same.
I think the parameter job doesn't access in the function of Sheets.spreadsheets.values.get({)}
I tried that but still doesn't work.
I made functions of (err,result) as async so I could use await for the job.log() function but unfortunately the issue still same.
I think the parameter job doesn't access in the function of Sheets.spreadsheets.values.get({)}
- Fri Mar 11, 2022 9:04 pm
- Forum: Node.js scripting
- Topic: job.log function doesn't run
- Replies: 6
- Views: 3405
job.log function doesn't run
I am setting up a flow that connects to Google sheet to check if there are any inventory available for the incoming job or not. I successfully connected to Google sheet and the script does what it suppose to do but the issue is that when I put job.log() function in the script but Switch skips them. ...
- Tue Jul 13, 2021 4:59 am
- Forum: Node.js scripting
- Topic: Create and move file
- Replies: 1
- Views: 2436
Create and move file
Hi everyone I am creating a code that generates image from HTML code. I am using puppeteer library which server this purpose (converting html template into an image). My goal is having a job arrives to a script element point to trigger the script to generate the image. The issue I am encountering is...
- Mon Jul 12, 2021 9:30 pm
- Forum: Node.js scripting
- Topic: NodeJs Skips Sqlite query
- Replies: 4
- Views: 3865
Re: NodeJs Skips Sqlite query
@freddyp
Thank you for your explanation.
Changing the SQLite library to synchronous one solved the issue.
Thank you for your explanation.
Changing the SQLite library to synchronous one solved the issue.
- Wed Jun 30, 2021 4:07 pm
- Forum: Node.js scripting
- Topic: NodeJs Skips Sqlite query
- Replies: 4
- Views: 3865
Re: NodeJs Skips Sqlite query
@freddyp Thank you for your reply. I don't think that's the case as I even tried to only have the database query function in the script in try/catch and nothing else and still not executing it. Here is the code below (I used simple code from online) async function jobArrived(s,flowElement,job){ cons...
- Wed Jun 30, 2021 3:48 am
- Forum: Node.js scripting
- Topic: NodeJs Skips Sqlite query
- Replies: 4
- Views: 3865
NodeJs Skips Sqlite query
Hey everyone, I am setting up a flow where i collect data and store it in a db file in localhost. I don't have Database connect module; rather I am using manual way to connect to the database via nodeJs. When I run the code outside Switch it works, it connects to the DB file and it injects the data ...
- Sat Feb 27, 2021 1:01 am
- Forum: Node.js scripting
- Topic: Loop through array!
- Replies: 3
- Views: 4526
Loop through array!
I am little bit confused how Switch scripting works. I read in a post that the when the job arrives to a scripting step, the sendToSingle function does not execute until script is fully done. What I am trying to achieve is that I have jobs in form of xml and within the xml theres a metadata contain ...