Dynamically change deadline of a workitem

Michael Pokraka workflow at quirky.me.uk
Tue Jul 20 13:01:15 EDT 2004


Hi Patrick,
Can you not play around to make the requirements suit the workflow? e.g. =
use
a 'required start' instead of a 'requested end' deadline for the original
one week deadline. Thus if someone executes it, the deadline no longer ge=
ts
triggered. Then have a second requested end deadline within 3 weeks, or e=
ven
a third - latest end.
Alternatively, the loop option isn't so bad, with 'step not in workflow l=
og'
you can still keep your log less confusing on 620.
Cheers
Mike
 
de Valensart Schoenmaeckers, Patrick wrote:
> Hi all,
>
> In a dialog approval step (type activity, delegated object method
> ZWFIPP.Approve), I need to give the user the choice to keep the workite=
m for
> an additional fifteen days (the original deadline being set to workitem
> creation + one week). I see two ways to do that:
> - I end my method with a specific result value _WI_RESULT =3D "Keep" wh=
en the
> user chooses to change the deadline. Then I model my workflow so that i=
t
> changes the container element "Deadline", and loops back to the approva=
l
> step in case its result is "Keep".
> - I pass the workitem number to my workitem, and program a deadline cha=
nge
> in my object method "FIPP.Approve".
>
> The first possibility works for sure, but is making workflow definition=
 even
> more complex and risks to create a lot of workitems, making workflow lo=
gs
> difficult to read for an average user. Therefore I would like to try th=
e
> second possibility. I found function module SWW_WI_DEADLINES_CHANGE, bu=
t
> it's not very well documented. Anybody used it before? Otherwise, who h=
as
> arguments to make me change my mind ;-) ?
>
> Thanks in advance for your always valuable help.
>
> Cheers,
>
> Patrick
>
> P.S. By the way I am on WAS release 6.20
>
>
 


More information about the SAP-WUG mailing list