Hi Experts,
I am trying to explore the usage of UWL API. I created a custom Portal service which can create an Approval request UWL task.
Then I customized the XML configuration file to show items of type uwl.task.approval. I also added two Actions for Approve/Reject as below,
<Action name="Approved" userDecision="yes" handler="UserDecisionHandler">
<Properties>
<Property name="UserDecisionNote" value="true"/>
<Property name="decisionKey" value="1"/>
</Properties>
<Descriptions default="Approve"/>
</Action>
<Action name="Rejected" userDecision="yes" handler="UserDecisionHandler">
<Properties>
<Property name="UserDecisionNote" value="mandatory"/>
<Property name="decisionKey" value="2"/>
</Properties>
<Descriptions default="Reject"/>
</Action>
What do I need to do to handle the Event on click of Accept and Reject. All I want is when an approver approvs the task, the status should change to Complete and an notification about approval should go back to the requestor.
Do I have to do custom coding for this, Or can I use standard event handlers. Currently I am getting the following error when clicked on Accept/Reject button,
Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException Message:Mon Oct 05 13:32:30 EDT 2009 :For input string: "1254763939680"
Thanks for the help.
Yomesh.