You are on page 1of 2

10/18/2016

AdvancingwithImmediateDialogSAPBusinessWorkflowSAPLibrary

TheBestRunBusinessesRunSAP

TechnologyPlatform

SAPNetWeaver

7.3EHP1

AdvancingwithImmediateDialog
Use
Byadvancingwithimmediatedialog,youspeeduptheprocessingofaworkflowifmorethanonesubsequent
stepofaworkflowistobeprocessedbythesameuser.

Features
Theflag Advancewithimmediatedialog caneitherbesetforeachstepindividuallyorforthewholeworkflow.
Iftheindicatorisset,theworkflowsystemcheckswhethertheactualagentoftheworkitemthathasjustbeen
completedisalsoarecipientofthesubsequentworkitem.Ifthisisthecase,workitemexecutionisstarted
immediately.

Example
Auserdecidesina userdecision torevisethenotificationofabsencerejectedbytheirsuperior.Sincethe
useristhereforealsotherecipientofthenext activity "Revisenotificationofabsence",therelevant
methodisexecutedforthemimmediately.
Theruntimesystembehavinginthiswaymeansthataworkitemisnolongerofferedtoallrecipientsfor
processing,becausethefirstagentinsuchachainofworkitemsautomaticallybecomestheactualagentof
subsequentworkitems.
Startingworkflows
Iftheindicatorissetforthefirststepofaworkflow,andtheworkflowisstartedindialog,theworkflowsystem
checkswhethertheworkflowinitiatorisalsoarecipientofthefirstworkitem.Ifthisisthecase,workitem
executionisstartedimmediately.

Note
Sinceadvancingwithimmediatedialogcanonlybeactivatedordeactivatedforworkflows,workitemsfor
singlesteptasksarealwaysstartedwithimmediatedialog.
Formoreinformation,seeStartingTasksandWorkflows.
TechnicalDetails
Atruntime,aftercompletionofastep,(=workitemhasstatus completed ),theworkflowsystemchecksthe
followingpropertiesofthesubsequentworkitem:

http://help.sap.com/saphelp_nw73EhP1/helpdata/en/4f/4101c9dd88535ae10000000a421937/content.htm?frameset=/en/4f/41f5e5dd88535ae10000000a421937/fra

1/2

10/18/2016

AdvancingwithImmediateDialogSAPBusinessWorkflowSAPLibrary

Isitadialogworkitem?
Doesthecorrespondingtaskrefertoasynchronousmethod?
Istheindicator Advancewithdialog set?
Istheactualagentalsoarecipientofthisworkitem?
Hastheworkitemreachedallofitsrequestedstarts?
Iftheanswertoallthesequestionsisyes,theworkflowsystemautomaticallystartsexecutionofthework
item.

Note
Ifmorethanoneworkitemexiststhatcanbeexecutedbytheactualagent,(forexampleatthestartofa
fork),executionisnotstartedforanyworkitem.
Thecheckdescribedaboveiscarriedoutwiththesubsequentstepifithasoneofthefollowingtypes:
FlowControl
Condition
ContainerOperation
MultipleCondition
Forks
Loop(UNTIL)
Loop(WHILE)

Activities
Youactivateordeactivate advancewithimmediatedialog inthebasicdataofaworkflowdefinition.Ifyou
changethesettinginthebasicdata,thechangeisvalidforallstepsoftheworkflow.Thefirsttimethe
WorkflowBuilderiscalled, advancewithimmediatedialog isalwaysactivated.
If advancewithimmediatedialog isactivatedinthebasicdata,youcanalsoactivateordeactivatethe
indicatorforeachindividualstep.Thissettingthenrefersonlytoadvancingfromtheprecedingsteptothis
step.

Note
Ifyouhavedeactivated advancewithimmediatedialog fortheworkflowinthebasicdata,youcannot
activateitatthesteplevel.

C OPYR I GH T BY SAP SE OR AN SAP AF F I LI AT E C OM PAN Y. ALL R I GH T S R ESER VED . PR I N T ED F R OM SAP H ELP POR TAL.
(ht t p: / / help. s ap. c om )

http://help.sap.com/saphelp_nw73EhP1/helpdata/en/4f/4101c9dd88535ae10000000a421937/content.htm?frameset=/en/4f/41f5e5dd88535ae10000000a421937/fra

2/2

You might also like