Desktop productivity for business analysts and programmers

Order of Process flow

Reply
Occasional Contributor
Posts: 6

Order of Process flow

Hi

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?

Much appreciated!

Steen

Contributor
Posts: 45

Re: Order of Process flow

Try an ORDERED LIST. It lets you execute Tasks/Programs in the order you want.

File/New/Ordered List

Valued Guide
Posts: 2,111

Re: Order of Process flow

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).

Doc Muhlbaier

Duke

Contributor
Posts: 45

Re: Order of Process flow

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.

Occasional Contributor
Posts: 6

Re: Order of Process flow

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.

Community Manager
Posts: 2,696

Re: Order of Process flow

You can use EG Automation to script the batch processing of your project and process flows, and have it be somewhat dynamic. 

Resources:

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)

Chris

Occasional Contributor
Posts: 7

Re: Order of Process flow

Hi

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.

Good luck

Ask a Question
Discussion stats
  • 6 replies
  • 5469 views
  • 7 likes
  • 5 in conversation