Hello
We are configuring UWL in a SAP Nw 7.01 SP10 Portal.
We have created a custom XML file where we define a decision task with approve and reject actions; user decision notes are enabled in both actions:
<ItemTypes> <ItemType name="uwl.task.webflow.decision.TS90100261.SAP_ECC_Financials" connector="WebFlowConnector" defaultView="POCAllView" defaultAction="viewDetail" executionMode="default"> <ItemTypeCriteria systemId="SAP_ECC_Financials" externalType="TS90100261" connector="WebFlowConnector"/> <Actions> <Action name="ApproveRequest" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no"> <Properties> <Property name="decisionKey" value="0001"/> <Property name="UserDecisionNote" value="true"/> <Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/> <Property name="UserDecisionTitle" value="Approve the request"/> </Properties> <Descriptions default="Approve"/> </Action> <Action name="RejectRequest" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no"> <Properties> <Property name="decisionKey" value="0002"/> <Property name="UserDecisionNote" value="mandatory"/> <Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/> </Properties> <Descriptions default="Reject"/> </Action> </Actions> </ItemType> </ItemTypes>
Then we define a view that allows mass approval/rejection using checkboxes and a submit decisions button:
<View name="POCAllView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS90100261.SAP_ECC_Financials" columnOrder="APPROVE, REJECT, subject, creatorId, createdDate, priority, attachmentCount, dueDate, status, MYATTRIBUTE01, MYATTRIBUTE02, MYATTRIBUTE03" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="pocall_tasks"> <DisplayAttributes> <DisplayAttribute name="APPROVE" type="checkbox" width="" actionRef="ApproveRequest" referenceBundle="PoC.Approve" hAlign="CENTER" vAlign="MIDDLE"/> <DisplayAttribute name="REJECT" type="checkbox" width="" actionRef="RejectRequest" referenceBundle="PoC.Reject" hAlign="CENTER" vAlign="MIDDLE"/> </DisplayAttributes> <Actions> <Action reference="submitUserDecisions"/> <Action reference="refresh"/> <Action reference="defaultGlobalWizard"/> <Action reference="addToNavigation"/> <Action reference="removeFromNavigation"/> </Actions> </View>
However, we don't know how to include the decision note if the checkboxes + submit decision button are used.
Does anyone have experience with this configuration and knows the solution? Points will be rewarded.
Thanks,
Jon