Unable to update metadata on a web form (.hcsp) after an update?
Hi,
I have created a a web form that goes into a workflow and requires a managers 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 first using the "submit" button. (which Checks Out and Checks In the web form) then approves it wont update the form.
Any ideas?