Variable deadlines...

Michael Pokraka workflow at quirky.me.uk
Wed Apr 2 12:10:33 EST 2003


Greetings all,
I have a design issue with not-so-nice solutions and wonder if anyone may have better alternatives:
 
Scenario: Many tasks, all call same method.
Depending on an object attribute, different deadlines are to apply to each step (We have a 'deadline matrix' of flow type and task).
 
Thus a 'Normal' obj will have 3 days, 2 days and 5 days for the first 3 tasks.
A 'Partial' obj will have shorter deadlines (2,1 and 3 days) and so on, a 'Rush' shorter again (not quite accurate - in reality we have 15 different types).
 
Since the methods are all the same, I would need to pass a parameter, thus requiring a seperate step before each task, calling a 'GetDeadlineForTask' method of sorts. At 30-odd steps, this becomes both annoying and ugly. Does anyone have an idea on how to accomplish this with an attribute? I could of course create 30 deadline virtual attributes but even that is not really all that nice either....
 
Any ideas welcome...
Cheers
Mike
 


More information about the SAP-WUG mailing list