Skip to Content

Not seeing Task in UWL

Hello SCN Team,

My Environment is 7.4 Portal

Iam not able to view my tasks in UWL. I am currently using UWL Custom Connector API code to display the tasks in UWL.

I could able to View the View Description in header part of View but could not see the line items in UWL.

From the below task how do i check the below tasks are created or not

below is the code which i used.


private List mapFeedsToUwlItems (UWLContext context,String itemType,ConnectorFilter qp,String system) {
ArrayList retItems = new ArrayList();
for(int j=0; j<4;j++) {
String externalid="1"+j;
StatusEnum itemStatus = null;
Item uwlItem1 = new Item(CustomUwlConnectorProj.CONNECTOR_ID,system,externalid, context.getUserId(), -1, new Date(),Author,
null, null, "GEN_ITEM_TYPE","GEN_ITEM_TYPE",PriorityEnum.LOW, StatusEnum.NEW,"CLM Title");
uwlItem1.setDescription("Hello World");
uwlItem1.setUser(context.getUserId());
uwlItem1.setSubject("T"+j);
uwlItem1.setItemType("CLM_ITEM_TYPE");
uwlItem1.setCreatedDate(new Date());
uwlItem1.setDueDate(new Date());
uwlItem1.setCreatorId(context.getUserId());
uwlItem1.setStatus(StatusEnum.NEW);
uwlItem1.setExternalObjectId("2");
uwlItem1.setExternalType("GenericTask");
retItems.add(uwlItem1);
}
}

items = mapFeedsToUwlItems(context,itemType,connectorFilter,system);
ProviderStatus status = new ProviderStatus(true,system, CustomUwlConnectorProj.CONNECTOR_ID);
result = ConnectorResult.createSnapshotResult(new ItemCollection(items),status);

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 09, 2014 at 09:40 AM

    r u on wdjava or wdabap ? what is the workflow number ur using for u leave types in v_t554s_web .....?

    Add comment
    10|10000 characters needed characters exceeded