Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

UWL mass approval for LSO

$
0
0

Dear experts.

I use a custom workflow for LSO. I've created custom xml for uwl with the following content:

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE UWLConfiguration PUBLIC "-//SAP//UWL1.0//EN" "uwl_configuration.dtd">

<UWLConfiguration version="1.0">

<ItemTypes>

<ItemType name="uwl.task.webflow.TS91000034" connector="WebFlowConnector" defaultView="Prebook_Approval" defaultAction="viewDetail" executionMode="default">

<ItemTypeCriteria externalType="TS91000034" connector="WebFlowConnector"/>

<CustomAttributes>

    <CustomAttributeSource id="ABAP_BOR"

     objectIdHolder="externalObjectId"

  objectType="DECISION"

  cacheValidity="final">

     </CustomAttributeSource>

</CustomAttributes>

<Actions>

<Action name="Approve_high" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">

  <Properties>

  <Property name="decisionKey" value="0001"/>

  <Property name="display_order_priority" value="1"/>

  </Properties>

   <Descriptions default="High priority"/>

</Action>

 

 

<Action name="Approve_normal" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">

  <Properties>

  <Property name="decisionKey" value="0002"/>

  <Property name="display_order_priority" value="2"/>

  </Properties>

   <Descriptions default="Normal priority"/>

</Action>

 

 

<Action name="Reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">

  <Properties>

  <Property name="decisionKey" value="0003"/>

  <Property name="display_order_priority" value="3"/>

  </Properties>

   <Descriptions default="Reject"/>

</Action>

 

 

<Action name="launchSAPDetails" groupAction="yes" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">

    <Properties>

    <Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/>

    </Properties>

    <Descriptions default="launchSAPDetails"/>

</Actions>

</ItemType>

</ItemTypes>

 

 

<!--Отображение списка -->

<Views>

<View name="Prebook_Approval" width="98%"

supportedItemTypes="uwl.task.webflow.TS91000034"

columnOrder="subject, creatorId, createdDate, Approve_high, Approve_normal, Reject, status"

sortby="createdDate" visibleRowCount="10" headerVisible="yes"

selectionMode="SINGLESELECT"

tableNavigationFooterVisible="yes"

actionRef=""

actionPosition="bottom">

 

 

<Descriptions default="Корпоративное обучение">

    <ShortDescriptions>

          <Description Language="ru" Description="Learning"/>

    </ShortDescriptions>

</Descriptions>

<DisplayAttributes>

<DisplayAttribute name="Approve_high" type="checkbox" width="4" actionRef="Approve_high"

format="default" vAlign="TOP" hAlign="CENTER">

<Descriptions default="Approve_high">

<ShortDescriptions>

<Description Language="ru" Description="High priority"/>

</ShortDescriptions>

</Descriptions>

</DisplayAttribute>

 

 

<DisplayAttribute name="Approve_normal" type="checkbox" width="4" actionRef="Approve_normal"

format="default" vAlign="TOP" hAlign="CENTER">

<Descriptions default="Approve_normal">

<ShortDescriptions>

<Description Language="ru" Description="Normal priority"/>

</ShortDescriptions>

</Descriptions>

</DisplayAttribute>

 

 

<DisplayAttribute name="Reject" type="checkbox" width="4" actionRef="Reject" vAlign="TOP"

             hAlign="CENTER">

                <Descriptions default="Reject">

<ShortDescriptions>

<Description Language="ru" Description="Reject"/>

</ShortDescriptions>

</Descriptions>

</DisplayAttribute>

</DisplayAttributes>

<Actions>

<Action reference="refresh"/>

<Action reference="defaultGlobalWizard"/>

<Action reference="removeFromNavigation"/>

<Action reference="personalize" />

<Action name="launchSAPAction" handler="SAPWebDynproABAPLauncher" >

</Action>

</Actions>

</View>

</Views>

</UWLConfiguration>

 

I can't understand, what action I should specify for button "Submit Decision"? Standard workflow use BOR object. I've copied standard task TS12000012 to custom TS91000034.


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>