Skip to Content
0
Former Member
Jul 31, 2007 at 09:47 AM

UWL-Terminating events

24 Views

Hi All,

I have an requirement in which I have to include two rows for "Approve" and "Reject" and a button for "Submit Decision",I tried using the following XML but Im not getting the view what im trying for.Can any one guide me.provide the xml to achive the same..

<b>XML:</b>

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN'

'uwl_configuration.dtd' [

]>

<UWLConfiguration version="1.0">

<ItemTypes>

<ItemType name="uwl.task.webflow.TS91100019"

connector="WebFlowConnector" defaultView=" myApprovalRejectView_TE" executionMode="pessimistic">

<ItemTypeCriteria

externalType="TS91100019" connector="WebFlowConnector"/>

<Actions>

<Action name="approved" userDecision="yes"

handler="TerminatingEventHandler">

<Descriptions default="Approve"/>

</Action>

<Action name="rejected" userDecision="yes"

handler="TerminatingEventHandler">

<Descriptions default="Reject"/>

</Action>

</Actions>

</ItemType>

</ItemTypes>

<Views>

<View name=" myApprovalRejectView_TE"

width="98%"

supportedItemTypes="uwl.task.webflow.TS91100019"

columnOrder="attachmentCount, detailIcon, subject, priority,

creatorId, createdDate, rejectCol, approveCol"

sortby="priority"

selectionMode="SINGLESELECT"

tableDesign="STANDARD"

visibleRowCount="10"

headerVisible="yes"

tableNavigationFooterVisible="yes"

tableNavigationType="CUSTOMNAV"

actionRef="">

<Descriptions default="My Reject Approval_TE">

<ShortDescriptions>

<Description Language="en"

Description=" My Reject Approval_TE"/>

</ShortDescriptions>

</Descriptions>

<DisplayAttributes>

<DisplayAttribute name="rejectCol" type="checkbox"

width="" actionRef="rejected"

vAlign="TOP" hAlign="CENTER">

<Descriptions default="">

<ShortDescriptions>

<Description Language="en" Description="Reject"/>

</ShortDescriptions>

</Descriptions>

</DisplayAttribute>

<DisplayAttribute name="approveCol" type="checkbox"

width="" actionRef="approved"

vAlign="TOP" hAlign="CENTER">

<Descriptions default="">

<ShortDescriptions>

<Description Language="en" Description="Approve"/>

</ShortDescriptions>

</Descriptions>

</DisplayAttribute>

</DisplayAttributes>

</View>

</Views>

</UWLConfiguration>

Regards,

Vinoth.M