Hi,
I'm trying to add a comments box to approval tasks in the Universal Worklist so that users can add a rejection text
I have added the following code to the UWL config file which has been successful at other clients:-
<ItemType name="uwl.task.approval.webflow.TS90000043" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
<ItemTypeCriteria connector="WebFlowConnector" externalType="TS90000043" />
<Actions>
<Action name="accept" groupAction="yes" handler="UserDecisionHandler">
<Properties>
<Property name="decisionKey" value="1"/>
<Property name="UserDecisionNote" value="true"/>
</Properties>
<Descriptions default="Approve"/>
</Action>
<Action name="reject" groupAction="yes" handler="UserDecisionHandler">
<Properties>
<Property name="decisionKey" value="2"/>
<Property name="UserDecisionNote" value="mandatory"/>
</Properties>
<Descriptions default="Reject"/>
</Action>
</Actions>
</ItemType>
The comments box appears with the approve and reject buttons
The issue is that the comment is not added to the workitem as an attachment, it seems to disappear.
I have searched this forum and other solutions mention running a function module to add/retrieve attachments however I was under the assumption that once the above code is added the comments should appear in the attachments without further ABAP coding.
As I said this exact solution has also worked on other systems
I have also checked the iview properties to see make sure attachments are not excluded etc
I have also looked at the config for DefaultView and this seems to be pretty normal. Is there something else I should be lookng at.
Any help would be much appreciated.
Andrew