05-08-2012 04:19 AM
I have a SAS EG project where I have 4 process flows and a Custom reports that exports reports as pdf files. The 4 process flows need to be processed before the custom reports. When I run the whole project sometimes the custom reports are processed before all 4 process flows are done which makes the project fail and SAS EG crashes.
Whenever I run my project step by step, process flow by process flow I never experience problems.
This leads to my question.
Is there a way where I can setup rules that decide the order of the process flows when I run a project?
05-08-2012 10:16 AM
I would hope there was an easier way; I've got 5 process flows and 65 tasks. The ordered list does not seem to respect the process flow ordering, however, the documentation is nearly non-existent.
I have placed the process flows in the order that I want them to run in the Project Tree. That seems to get everything in order EXCEPT the e-mails (as a setup in the process). I don't do Custom Reports, but suspect it may be a similar glitch. I have a track open at Tech Support, but owe them a sanitized process flow (my original data has patient information).
05-08-2012 11:03 AM
I don't understand "The ordered list does not seem to respect the process flow ordering". Does this mean it is more difficult to set up the ordered list...or you literally cannot get the ordered list to follow the sequence you want? Just curious...I think the creating the ordered list after you have many, many tasks/programs is way to difficult, but I have got it to execute in the sequence I want.
05-09-2012 07:56 AM
Thanks, for the replys guys.
I have created a ordered list now and it might be working. However, I see 2 problems with this solution.
1. I cannot make an order based on process flows. In the ordered list I can only choose the task which I almost have 100 of. Fortunately you can add many in go.
2. Since I cannot base my ordered list on process flows then it will not be dynamic. If I add another task then I would have to add it to the list as well.
05-09-2012 08:32 AM
You can use EG Automation to script the batch processing of your project and process flows, and have it be somewhat dynamic.
Doing more with SAS Enterprise Guide automation (blog post)
Not just for scheduling: Doing more with SAS Enterprise Guide Automation (SAS Global Forum paper/sasCommunity.org page)
08-15-2013 07:38 AM
There is a easier way to change the order of the process flow without programming or using a ordered list.
Go to the process tree on the left hand side and use drag and drop to shift the order of the process flow(s)
I recommend you take the last process flow you want (usually the one where you create the output or script for sending e-mails) and drag it to the top.
Then starts moving the remaining process flows to the top in the order you want them to be.
It will recalibrate the order the want you want it.