to combine execution of two dialog steps.

Zmudzin,Tomasz,FRANKFURT,Extern LG-DM Tomasz.Zmudzin at de.nestle.com
Tue Sep 2 05:17:04 EDT 2003


Vinod,
 
(1) should not count,
(2) and (3) are to my best knowledge not applicable -- because it is the
outcome of the agent determination that counts (ie. is the current agent
also one for the next item?), not how it was modeled in the system.=20
 
Might be a stupid thing to ask, but... --- are you really sure that the sam=
e
person currently receives the second item?
 
Best regards,
Tomasz
 
-----Urspr=FCngliche Nachricht-----
Von: Vinod Ramchandani [mailto:vinod.ramchandani at patni.com]
Gesendet: Dienstag, 2. September 2003 11:10
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Re: to combine execution of two dialog steps.
 
 
Thanks Tomasz !!!
I know this trick.
But only checked to "Advance with dialg" does not work as such.
Webflow engine goes to check following things. (See (A),(B) and (C)
section).
 
(A)> ---------------------------------------------------------------------
        At runtime, after completion of a step, (=3D work item has status
completed),
the workflow system checks the following properties of the subsequent work
item:
 
1) Is it a dialog work item?
2) Does the corresponding task refer to a synchronous method?
3) Is the indicator Advance with dialog set?
4) Is the actual agent also a recipient of this work item?
5) Has the work item reached all of its requested starts?
 
If the answer to all these questions is yes, the workflow system
automatically starts execution of the work item.
 
(B)> ---------------------------------------------------------------------
        If more than one work item exists that can be executed by the actua=
l
agent,
(for example at the start of a fork), execution is not started for any work
item.
 
The check described above is carried out with the subsequent step if it has
one of the following types:
 
1) Process control
2) Condition
3) Container operation
4) Multiple condition
5) Fork
6) Loop (UNTIL)
7) Loop (WHILE)
 
(C)> ---------------------------------------------------------------------
 
        You activate or deactivate advance with immediate dialog in the
basic data
of a workflow definition. If you change the setting in the basic data, the
change is valid for all steps of the workflow. The first time the Workflow
Builder is called, advance with immediate dialog is always activated.
 
        If advance with immediate dialog is activated in the basic data, yo=
u
can
also activate or deactivate the indicator for each individual step. This
setting then refers only to advancing from the preceding step to this step.
 
        If you have deactivated advance with immediate dialog for the
workflow in
the basic data, you cannot activate it at the step level
 
------------------------------------------------------------------------
 
Only checked to "advance wit hdialog" is NOT working in my case.
Reasons (I think!!!) may be as per the below.
 
1) First-Step does NOT have Synchronous method.
(I don't know, but as per the documentation Second-step should have
synchronous method).
 
2) I have used Rule is agent assignment at both the steps.
(Even-if Rule Resolution will give the same actual agent, "Advance with
dialog" is NOT working).
 
3)First-step has Four Outcomes defined,
and one has Same Rule as per the previous step,
two outcomes have "_Initiator" as the actual agent
and fourth one has "No activity" at all.
(This thing is not mentioned in the documentation but i think it might be
checked while advancing the step with dialog.)
 
One of the above may be the reason why this "Advance with dialog" - option
doesnot work in my case.
 
Please flash some light on the same focal-plane.
I really appericiate your valuable time.
 
Thanks and Regards,
Vinod Ramchandani.
 
 
 
 
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Zmudzin,Tomasz,FRANKFURT,Extern LG-DM
Sent: Tuesday, September 02, 2003 12:45 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: AW: to combine execution of two dialog steps.
 
 
"Advance with dialog" marked for the respective task within WF should to th=
e
trick. (have a look in the help text for the field)
 
Be aware that this will still result in two work items -- i.e. you cannot
roll back the first one in the second one. But this is just enough in most
cases.
 
Best regards,
Tomasz
 
-----Urspr=FCngliche Nachricht-----
Von: Vinod Ramchandani [mailto:vinod.ramchandani at patni.com]
Gesendet: Dienstag, 2. September 2003 08:37
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: to combine execution of two dialog steps.
 
 
Hello everybody..
 
I want to combine the execution of two dialog steps to one.
I have two different activities in workflow, need to be performed in one GO=
=2E
 
I have Buyer in Requisition Approval Workflow.
Buyer will approve the requisition and then create the PO from the
requisition.
 
right now, buyer will have first workitem that will ask him to approve the
requisition.
once buyer will approach to that workitem and approve the requisition then
he will get another workitem which ask him to create PO from the
requisition.
 
If Buyer approves then he needs to navigate to the Inbox and then he
requires to press refresh button then he will able to get the workitem to
create PO.
 
I need to combine above mentioned two dialog step activity in to one.
can it be possible to do so?
 
Usually, Decision step and any other acitvity automatically been combined t=
o
one.
( If step property of the activity have "step not in workflow log" -
checked, otherwise we will get two separate workitems,still we have One-GO
execution of the same.)
 
I need similar execution in two different activities like i have mentioned
above.
 
can anybody have some idea to achieve the above functionality without
combining the business object methods?
 
i really appericiate your valuable inputs.
 
thanks and regards,
vinod ramchandani.
 


More information about the SAP-WUG mailing list