to combine execution of two dialog steps.

Vinod Ramchandani vinod.ramchandani at patni.com
Tue Sep 2 05:10:15 EDT 2003


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 comple=
ted),
the workflow system checks the following properties of the subsequent wor=
k
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 actual age=
nt,
(for example at the start of a fork), execution is not started for any wo=
rk
item.
 
The check described above is carried out with the subsequent step if it h=
as
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 da=
ta
of a workflow definition. If you change the setting in the basic data, th=
e
change is valid for all steps of the workflow. The first time the Workflo=
w
Builder is called, advance with immediate dialog is always activated.
 
        If advance with immediate dialog is activated in the basic data, you can
also activate or deactivate the indicator for each individual step. This
setting then refers only to advancing from the preceding step to this ste=
p.
 
        If you have deactivated advance with immediate dialog for the workflow i=
n
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" - optio=
n
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 =
the
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 mos=
t
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.
 
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 th=
e
requisition.
once buyer will approach to that workitem and approve the requisition the=
n
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=
 to
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-G=
O
execution of the same.)
 
I need similar execution in two different activities like i have mentione=
d
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