Thanks David,
The reason that it didn't work was because I had to assign the new job to the variable job.
Changing the code s.createNewJob(); in job = s.createNewJob(); was the solution.
Thanks you very much.
Wih kind regards,
Niels
Search found 3 matches
- Tue May 31, 2011 4:02 pm
- Forum: Scripting
- Topic: createPathWithName problem
- Replies: 2
- Views: 2946
- Fri May 27, 2011 12:16 pm
- Forum: Scripting
- Topic: createPathWithName problem
- Replies: 2
- Views: 2946
createPathWithName problem
Hello, A few weeks ago I craeated a simple flow of 2 automanaged folders that are linked through a script element wit the following code: function timerFired( s : Switch, job : Job){ s.setTimerInterval(3000); var FlowName = s.getFlowName(); var newFile = job.createPathWithName('Switch_dummy_'+FlowNa...
- Mon May 02, 2011 9:56 am
- Forum: Flows
- Topic: Auto Start Flow
- Replies: 1
- Views: 2723
Auto Start Flow
Hello, Can anyone help me with the following problem. I need to execute a script that generates a simple text file. Every 5 minutes the text file needs to be generated. I have tried to start the flow with a InjectJob, but this one does not start until a certain time is triggered. It should not matte...