Finding the original agent after substitute has executed thework item

Dart, Jocelyn jocelyn.dart at sap.com
Mon Jul 7 18:55:18 EDT 2008


You should also be saving the original list of agents found in your workflow container - e.g. by binding the _RULE_RESULT element from your agent determination rule to your workflow container.
This makes comparing the originally selected vs. the actual agent much simpler. 


Regards,
Jocelyn Dart
Senior Consultant
SAP Australia Pty Ltd.
Level 1/168 Walker St.
North Sydney 
NSW, 2060
Australia
T   +61 412 390 267
M   + 61 412 390 267
E   jocelyn.dart at sap.com
http://www.sap.com

The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. 
Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.
Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. 


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Keohan, Susan
Sent: Sunday, 06 July 2008 1:37 AM
To: SAP Workflow Users' Group
Subject: RE: Finding the original agent after substitute has executed thework item

Hi Stephane,

Substitutes are stored in table HRUS_D2.  You should be able to run transaction SE16 against that table, and put in the actual agent's userid into the field REP_NAME.  This will return the people they substitute for.  You'll be in luck if the actual agent is only substituting for one of the possible agents.

Regards,
Sue

---
Susan R. Keohan
SAP Workflow Specialist
MIT Lincoln Laboratory
244 Wood Street
LI-200
Lexington, MA. 02420
Phone: 781-981-3561
Fax:   781-981-1607
keohan at ll.mit.edu




-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Stephane Bailleul
Sent: Friday, July 04, 2008 4:47 PM
To: 'SAP Workflow Users' Group'
Subject: Finding the original agent after substitute has executed the work item

Hi All,

We are using the substitution standard functionality and we would like to
see who was the original agent of the work item after it has been executed
by the substitute.

Is there a table or something where this information is stored?

We are using SAP R/3 4.7

Cheers
Stephane


-----Message d'origine-----
De : sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] De la part de
Huber, Daniel
Envoyé : vendredi 4 juillet 2008 12:54
À : sap-wug at mit.edu
Objet : UWL | Display CustomAttribute as dropdown menu

Hello all,

I currently try to display a custom attribute (taken from workflow
container) as a dropdown menu.
Using Menu/MenuItem elements within the display attribute definition
results in the correct display of the custom attribute's value, but
there is no dropdown menu.

So, I assume the definitions of custom attribute and display attribute
are OK, but there's something wrong with the menu definition.
Unfortunately I cannot find any examples for this construct, but the one
in the DTD documentation which just uses the predefined attribute
'priority'
(https://help.sap.com/javadocs/NW04S/current/uw/com/sap/netweaver/bc/uwl
/doc-files/uwldtd.html#Menu).


A fragment of my current XML configuration is added below.
I already stumbled across DisplayAttribute at type being 'user' in the
example and 'string' in my configuration. But the current DTD does not
allow 'user' any longer.


<Views>
  <View name="RoughAssessmentView"
        selectionMode="MULTISELECT"
        refresh="300"
        visibleRowCount="10"
        width="98%"
        supportedItemTypes="uwl.task.webflow.TS97000034"
        columnOrder="isEscalated, subject, isSvtRelevant, ..."
        sortby="priority:descend,
        dueDate:ascend,
        createdDate:descend"
        tableDesign="ALTERNATING"
        headerVisible="no"
        queryRange="undefined"
        tableNavigationFooterVisible="yes"
        tableNavigationType="CUSTOMNAV"
        actionRef=""
        dueDateSevere="86400000"
        dueDateWarning="259200000"
        emphasizedItems="new"
        displayOnlyDefinedAttributes="yes"
        dynamicCreationAllowed="yes"
        actionPosition="bottom"
        referenceBundle="tasks"
>
    <DisplayAttribute name="isSvtRelevant"
                      type="string"
                      width="10"
                      sortable="yes"
                      format="default"
                      hAlign="LEFT"
                      vAlign="BASELINE"
                      maxTextWidth="0"
                      headerVisible="yes"
    >
      <Descriptions default="SVT Relevant"/>
      <Menu>
        <MenuItem name="Yes" actionRef="svtYes">
          <Descriptions default="Yes"/>
        </MenuItem>
        <MenuItem name="No" actionRef="svtNo">
          <Descriptions default="No"/>
        </MenuItem>
        <MenuItem name="Undefined" actionRef="svtUndefined">
          <Descriptions default="Undefined"/>
        </MenuItem>
      </Menu>
    </DisplayAttribute>
.
.
.

</Views>


So, maybe one of you could help me out.

Kind regards,
Daniel

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




More information about the SAP-WUG mailing list