Skip to Content

Custom itemtype name for completed tasks not applied by uwl

Hi experts,

my question refers to custom uwl configuration. Why were custom itemtype names for completed tasks (uwl.completedtask) not applied or recognized by the uwl? With pending/open tasks (uwl.task) its possible to rename the itemtype.

Example:

This is working:

<ItemType name="uwl.task.webflow.myteam.iac.TS12345678.SAP_ECC_XXX" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchIACService" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_XXX" externalType="TS12345678" connector="WebFlowConnector"/>
[...]
</ItemType>

But this is not working, the uwl can't match this itemtype name to the corresponding task id:

<ItemType name="uwl.completedtask.webflow.myteam.iac.TS12345678.SAP_ECC_XXX" connector="WebFlowConnector" defaultView="WorkItemsCompletedView" defaultAction="doWFMessage" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_XXX" externalType="TS12345678" connector="WebFlowConnector"/>
[...]
</ItemType>

To provide a custom configuration of completed tasks it's only possible to use the standard naming of these items

<ItemType name="uwl.completedtask.webflow.TS12345678.SAP_ECC_XXX" connector="WebFlowConnector" defaultView="WorkItemsCompletedView" defaultAction="doWFMessage" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_XXX" externalType="TS12345678" connector="WebFlowConnector"/>
[...]
</ItemType>

But why it's possible to set a custom itemtype name for the "uwl.task"-items and not for the "uwl.completedtask"-items? Why does the uwl not recognize the custom nam for the completed items? Am I doing something wrong, or is it still not possible, but why?

btw: we need to rename the itemtypes to structure a very complex uwl configuration

It would be great if someone can help :-)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 24, 2017 at 08:41 PM

    Hello Patrick

    The point here is that the UWL has some logic in which the matching needs the following at the beginning:

    uwl.<typeoftask>.<source>.<tasktype>.*

    That means that you cannot put anything between typeoftask, source and tasktype.

    What you could do in your case is to name the ItemType as it follows:

    • uwl.completedtask.webflow.TS12345678.SAP_ECC_XXX.myteam.iac
      OR
    • uwl.completedtask.webflow.TS12345678.myteam.iac.SAP_ECC_XXX

    Let me know in case that doesn't help.

    Regards,

    Armando

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 25, 2017 at 09:52 AM

    Hi Armando,

    according to the logic you mentioned, I ask myslef (and of course you) why it's even working for uwl.task.webflow* (see code example)??

    <ItemType name="uwl.task.webflow.myteam.iac.TS12345678.SAP_ECC_XXX" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchIACService" executionMode="default">
    <ItemTypeCriteria systemId="SAP_ECC_XXX" externalType="TS12345678" connector="WebFlowConnector"/>
    [...]
    </ItemType>
    Add comment
    10|10000 characters needed characters exceeded