Skip to Content
Former Member
Oct 05, 2009 at 05:33 PM

UWL custom task


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">


<Property name="UserDecisionNote" value="true"/>

<Property name="decisionKey" value="1"/>


<Descriptions default="Approve"/>


<Action name="Rejected" userDecision="yes" handler="UserDecisionHandler">


<Property name="UserDecisionNote" value="mandatory"/>

<Property name="decisionKey" value="2"/>


<Descriptions default="Reject"/>


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 Message:Mon Oct 05 13:32:30 EDT 2009 :For input string: "1254763939680"

Thanks for the help.