The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Causing an Execute Process to wait
rachel_lomasky
Member Posts: 52 Maven
I'm doing 3 "Execute process" calls in a row:
1. cURL to get an id
2. cURL to download a file with the id
3. unzip of the file
It seems that they are not waiting for each other, so the 2. is executing before 1 is truly done. Is there a "wait until the predecessor is done" option? I know about the "Delay" operator and putting those in does work. But I was hoping I wouldn't have to basically put in the worst case delay.
0
Answers
Something sounds strange, usually the 2nd Execute Process will trigger after the 1st one is done and so forth. The 2nd process can't execute without getting the ID from the 1st process, right? Does this crash?
No, it doesn't crash. It just executes too soon. When I put the delay in, it works fine.
Hmm, hard to know with out seeing the process and data. I'm guessing RM thinks the process 1 is done but it really isn't.
Hi Rachel,
assuming you execute the cURL command within in Execute Program Operator RapidMiner views it as finished when the command is triggered.
Do you have the In and Output Ports of the Execute Process Operators connected? You might try that and check the Use Input checkbox.
Do you have the same problems when you execute everything within one process?
Best regards,
Edin
I'm trying to build a process to replicate at my end, but haven't had luck so far as it seems to work each time for my one.
Is there any chance you could anonymise an example process for us to have a closer look at?
Also, have you tried turning off cache process on the Execute Process for Step 2? That might help a bit.