Process Control and Deadline Monitoring
Process Control and Deadline Monitoring
1.CancelWorkitem.2.SetWorktitemtoobsolete
3.CompleteWorkflow4.CancelWorkflow5.CancelWorkflowincludingallcallers
6.ActiveCorrelation7.ThrowException
SampleworkflowanditsresultforProcesscontrolsteps
CancelWorkitem:
whenyouexecutedthethisworkflowyouwillget3userdecisionworkiteminyour
sapinboxasshowninbelowscreenshot.
oncethedeadlinereachedinbranch3(Takeactionbranchfrom3),Takeactionfrombranch
3workitemwillbeLogicallydeleted.Theremainingtwobranchesworkitemswillbeinsap
inbox.
Nowamexecutingthebranch1andbranch2userdecisionstep,sothattheworkflowis
completedwithsendmailstepForkcompleted
CancelWorkflow:
oncetheworkflowisexecutedyouwillget3workitemsinsapinboxforbranch1,2,3.ifthe
deadlineisreachedinbranch3,itwillremovealltheworkitemsfromsapinboxandallthe
workflowtasksstatuswillbelogicallydeleted.(iecancelled)andstatusoftheworkflowwillbe
logicallydeleted(cancelled)andtheworkflowwillnotproceedfurther.
Completeworkflow:
oncetheworkflowisexecutedyouwillget3workitemsinsapinboxforbranch1,2,3.ifthe
deadlineisreachedinbranch3,itwillremovealltheworkitemsfromsapinboxandallthe
workflowtasksstatuswillbelogicallydeleted.(iecancelled)andstatusoftheworkflowwill
becompletedandtheworkflowwillnotproceedfurther.