Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What is a workflows context?

856044Aug 2 2011 — edited Aug 3 2011
We've working on a custom script that overwrites the default UCM workflow approve method. Instead of that, we sign the document digitally, check it into the workflow and then call approve on it. The problem is the following: workflow exit steps will not start when call APPROVE_WORKFLOW ( Executing service WORKFLOW_APPROVE with parameters {dID=263814, wfRejectMessage=999999999999999999999, dDocName=UCM_263186, inQueueRedirect=1, curStepName=Digiallkirjastamine}
) ourselves.

I had the idea of triggering the exit event myself, however I keep on running into the error "Script function wfUpdateMetaData not allowed outside a workflow computation context. Script function wfUpdateMetaData not allowed outside a workflow computation context. Script function wfUpdateMetaData not allowed outside a workflow computation context. [ Details ]".

Any ideas are welcome.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2011
Added on Aug 2 2011
2 comments
488 views