
Preface
They say: "Those who do not know history are condemned to repeat it."But why repeat history if you dont have to?
Many questions come to light on this topic of discussion:
- Is there a better way of designing conditional implementation in workflow?
- What
are the merits/demerits of repeated checking of a particular condition
as opposed to executing something when the actual condition happens?
What are the performance implications?
- Are there workflow APIs available which simulate event based subscription model?
- What are the performance advantages of using the basic Workflow APIs that simulate this event based subscription model?
The intended audience is workflow designers, support personnel and Oracle Apps DBA alike. This case study can potentially help users to design their workflow more optimally and succintly, which would have a minimal impact on the execution. The I/O profile and time taken for Workflow Background Process bears out all this information. As far as possible, trends have been depicted from the customer's Production system.
Summary of Learnings
- It pays to know the published
Workflow APIs. The Workflow Developer Guide is a good place to start.
Spend time reading the fine manual. More information can never hurt.
- It pays to spend time and effort in evaluating re-design of loops in workflow design early, especially since once initiated, a specific version of workflow runtime data does not automatically get updated after a newer version of workflow design is uploaded (through WFLOAD)
- Poor design involving WAIT and poll activities in a loop can cause infinitely running Workflow Background Process (FNDWFBG)
- Short-timeout
activities in loops should be replaced with
OE_STANDARD_WF.STANDARD_BLOCK or WF_STANDARD.BLOCK APIs and
WF_ENGINE.COMPLETEACTIVITY APIs
- Simple design changes can bring HUGE performance benefits, especially when a lot of volume is involved

Comments (2)
i was looking for some information about oracle certification and somehow reached to your page and then sticked to it. i liked the way you started few of your articles with chankya niti and shlokas.
it is nice reading.
keep writing in this style..
thanks
warm regards
santosh
Posted by Santosh | June 12, 2007 4:45 AM
Posted on June 12, 2007 04:45
Great post!
I was suffering with the problem that you discuss in your post, and your explanation was the best i found.
Thanks!
Posted by Jo?#o Simas | October 23, 2007 9:40 AM
Posted on October 23, 2007 09:40