HOW TO USE 'BLOCK' ACTIVITY
418636Apr 7 2004 — edited Apr 7 2004Dear all,
In my workflow, i need to set a block activity. My flow is as follows.
1. user fill in data in a form and then click 'submit' button. while 'submit' button is clicked, program will call workflow api to start the workflow.
2. workflow start and a workflow function is called. after the function has been called, the workflow need to be blocked as some super user need to approve the form and then workflow can continue.
3. after the supe user approve the form, i call WF_ENGINE.COMPLETEACTIVITY(...) as to exit the block activity. but error:
The following error has occurred:
ORA-20002: 3133: Activity instance 'INFORM_EIC_RECEIPT' is not a notified activity for item 'WF_EIC/ii'.
ORA-06512: at "OWF_MGR.WF_ENGINE", line 4076
ORA-06512: at line 2
I check spec stated that COMPLETEACTIVITY requires that the activity currently has a status of 'Notified'. I want to ask whether 'the activity' refers to the BLOCK activity or the activity before BLOCK activity. Moreover, how to make a status to 'Notified', what is a notified activity. I find a Notify activity in function list but it sends notification mail, i need not send mail anyway.
As I am a new comer for workflow, I really don't know whether the flow i define sounds sense or not. Can someone please give me some suggestion? Thanks.
Linda