1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Cant update metadata in web form (.hcsp) after an update?

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by ianjb, Oct 22, 2009.

  1. ianjb

    ianjb Guest

    Hi,

    I have created a a web form that goes into a workflow and requires a manager approval.
    When the manager approves the form the form is updated with the managers name and time.
    The script below is in the exit event of the approvel step.

    <$if wfAction like "APPROVE"$>
    <$wfUpdateMetaData("xApprovedBy", getUserValue("dFullName"))$>
    <$wfUpdateMetaData("xApprovedByDate", dateCurrent())$>
    <$endif$>

    This works if the manager approves the form without making any changes. However if the manager updates the form using the "submit" button. (which Checks out and checks in the web form) and then approves the form it wont update the form.

    Any ideas?