Skip to Content
0
Former Member
Jun 21, 2011 at 08:06 AM

UWL modification for leave approval task TS12300097

41 Views

Hello

Workflow WS12300111 is using task TS12300097 for leave approval.

I am trying to add few custom attributes to uwl.task.webflow.TS12300097 Task of leave approve workflow (For learning purposes).

I have added them as follows :

<ItemType name="uwl.task.webflow.TS12300097" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.myOpenTasksTimeApp" defaultAction="launchWebDynPro" executionMode="default">
      <ItemTypeCriteria externalType="TS12300097" connector="WebFlowConnector"/>     
       <CustomAttributes>
        <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="CL_PT_REQ_WF_ATTRIBS" cacheValidity="final">
          <Attribute name="REQ_ID" type="string" displayName="Document ID"/>
          <Attribute name="VERS_NO" type="string" displayName="Version Number"/>
                 </CustomAttributeSource>
      </CustomAttributes> 

  <Actions>
....
....

In my view com.sap.pct.erp.mss.myOpenTasksTimeApp I have made changes only in "column order" attribute

columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status, REQ_ID, 
VERS_NO"

But these fields REQ_ID and VERS_NO are not getting displayed in UWL in my custom view.

I am able to see the custom view.

I believe I am making some mistake in:

<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="CL_PT_REQ_WF_ATTRIBS" cacheValidity="final">

Please suggest