Search found 2 matches
- Fri Jul 02, 2021 10:20 am
- Forum: Node.js scripting
- Topic: flowElement.getJobs() and invalid job ID
- Replies: 2
- Views: 2844
Re: flowElement.getJobs() and invalid job ID
I did not think of a user deleting a file behind your back because then indeed you will have an id in global data, but not in getJobs(). I didn't think of it too, but indeed, it happens pretty soon when my first script with getJobs() goes live ... If I understand the changes you made in the exemple...
- Tue Jun 29, 2021 9:48 am
- Forum: Node.js scripting
- Topic: flowElement.getJobs() and invalid job ID
- Replies: 2
- Views: 2844
flowElement.getJobs() and invalid job ID
Hi, I'm trying to use the new flowElement.getJobs() method, so I have code very similar to the one in the documentation (jobsIds are stored in globaldata during jobArrived, I'm calling getJobs() in timerFired() entry point). My problem is : how to deal with invalid jobID ? Freddy said during a recen...