How to delegate a GP task in UWL

Hi All
Currently the standard the Delegation/Forward functionality is not working as per the SAP OSS message where SAP had commented that based on the portal version which we are using is having product limitation not able to delgate/Forward  the GP task from standard UWL.
now we are trying to delegate the GP task manually from Current user inbox to target user's inbox.
can you please provide me the sample codes or related documents or links then it would be great help to me??
Currently we are opening the GP task thru URL based by passing the processID and taskID in the URL.
see the following URL which is the format we are using to open the task from the user's Inbox
[http://localhost:50100/webdynpro/dispatcher/sap.com/cafeugpuirt/Runtime?app.processId=1a1&app.taskId=6a4]
Note : (Custom fucntionality which we are using currently)
Currently in each and every Callable object which we implemented on Webdynpro thru GP interface.
in the code of each DC, we called the BAPI and updated the processID and taskID along with other columns which ever you want to use as custom columns in custom UWL webdynro table where we will call BAPI and update the records which are assigned to an assigne. and also based on the above specified URL and we will open a particular task from a webdynpro table . this was worked out well for all actions in a process.
now we got struck at the delgation fucntionality where we need to delegate the task from the current user inbox to target user inbox.
currently the details which are available for a particular task in the current user inbox are ProcessID and taskID and anyway we will choose dynamically a user to whom we want to delegate , based on these information like ProcessID, taskID and target user  can we delegate a task to another dynamically to the target user's inbox.
Can anybody provide sample codes or any documents or links on this GP task delegation then it would be great help to me??
we are looking purely code based solution if any are there for delgating, for that do we have any samle codes??
Best Regards
Kalki
Edited by: KalkiReddy on May 15, 2009 4:34 AM

Hi Kalki,
If you are using Webdynpro component as callable object, then there is a alternative approach to delegate the task.  You can try the following steps in your webdynpro component.
1.  In the getDescription() method, add one more result state, let's say 'delegate'.
2.  In your process complete() method have an argument..say 'status'.
3.  Create a 'Forward' button in your view controller and bind to a 'Forward' action.
4.  On Forward action, call the complete() method with the status let's say 'fwd'.
5.  Based on this status, set the result state as 'delegate' before the process complete statement.
6.  In the GP design time, assign the result state target to the same action.
I hope you got the idea.
Regards,
Yuvaraj

Similar Messages

  • Handle to a BPM task in UWL

    Hello UWL Experts,
    This is a follow up thread to the question that I have already posted in BPM forum [Handle to a Task in BPM;. The attempt here is to check if this issue could be simply solved in the context of UWL / rather than BPM.
    Here goes the actual problem description.
    1. There is a BPM process which parallely triggers the creation of a task (in UWL ) and creation + sending of a custom email form (HTML form containing the same task data) to a user at the same time.
    2. If the user approves the task from Email (instead of logging into Portal / UWL), how to automatically close the task in UWL.
    On capturing this event can I use any UWL API to close the UWL task? Will a custom UWL connector help in closing this task in UWL.?
    Any pointers will be highly appreciated.
    BR,
    Bala

    CE 7.2 provides Adobe forms for this and that would solve the problem. Also, the close task event could be triggered in CE 7.3. But in CE 7.1, there is no solution for this.

  • How to remove options in context menu of the task in UWL.

    Hi,
    How to remove options or customize the context menu of the task in UWL.
    I have 4 options(Edit,Remove,Forward,Resubmit) is appearing in the context menu.
    My requirement is to delete Forward option form the menu list and only 3 options
    should appear in the list.
    Can anybody suggest where to change?
    Thanks,
    Vikas

    Hi vikas,
    Go to System Admin ->System Config->UWL Admin.
    select your system alias.
    Click on Click to Click to Administrate Item Types and View Definitions.
    Select your UWL configuration.
    Download DTD as well as XML file through Download Configuration.
    Then you can edit the xml file using XML spy editor or anyone.
    to upload go back to the same page and select the tab...Upload new configuration.
    Do not forget to clear the cache after upload.
    Hope this helps you.
    Regards
    Atul Shrivastava

  • How integrate task of uwl into Outlook

    Hello,
    How integrate task of UWL into Outlook.
    The cliente want that when he create one task in the uwl, this show in outlook.
    It is possible?
    Thanks.

    Hi,
    Before importing the contacts, you should export the contacts first.
    Link for exporting contacts from windows live mail below:
    http://windows.microsoft.com/en-IN/windows-live/mail-import-backup-restore
    After this, please refer to the following link providing how to import contacts to outlook:
    http://www.sevenforums.com/tutorials/93686-outlook-2010-import-windows-contacts.html
    Thanks!

  • How to delete ad hoc workflow tasks in UWL centrally?

    Hi,
    While we were testing UWL function of Enterprise Portal in Netweaver 7.0, number of users created ad hoc workflow tasks in UWL.  We have recently decided to use Universal Worklist for Inbox-based workflow only (WebFlowConnector) and not to use it for ad hoc workflow (AdHocWorkflowConnector).
    Instead of asking all users to go in to UWL and delete all their ad hoc workflow tasks, I (as a System Administrator) like to delete all ad hoc workflow tasks myself, centrally.  Is this possible?  Does anyone know how to delete all ad hoc workflow tasks centrally?
    Thank you.
    Joon,

    Hi Joon,
    I think it will be really difficult to achieve what you want as each task is related to a particular user.
    I am not sure @ a Sysadmin can accessing other users' tasks.
    You can try looking for some way by using UWL apis.
    I think you can get all your user's adhoc tasks in an ItemCollection object by using append method of Itemcollection Interface and then see that deleting this object may achieve give u desired reults.
    Also try having a look at the IUWLItemManager interface.
    You will find these interfaces in com.sap.netweaver.bc.uwl
    See [here|https://help.sap.com/javadocs/NW04S/current/uw/index.html]
    I hope it helps.
    Regards,
    Sumit

  • How to add few more columns in UWL screen

    Hi all
    Currently by default we are able to see the columns in UWL header as "Subject", "From", "Sent Date" , "Due Date" , "Status" .
    now i want to add few more columns  apart from standard columns.
    can you please let me know how to add our own columns in UWL header ??  if it is XML changes then pls let me know which xml file exactly we need to change??
    Thanks
    Sunil

    Hi Harini
    actually Standard XML file is not necessary for changing the column names in the UWL .
    we can use otherway as follows.
    go to system admin->UWL administration->click to configure item types and custom views using a wizard then it will take you to another screen -> select the radio button "Customize the look of the UWL main page" click on next then you can select what ever task item you want to change and click on the button respective button at the right end then it will take you to new screen there i added new columns  what ever required and saved also but the same one is not reflecting in UWL....
    can you please check the same in ur machine and let me know if any other things are required to be done and why this not been done our requirement??
    Regards
    Sunil

  • How to call a Workflow task in Portal

    Hi Guys,
                  I am developing a workflow which has to display the task in UWL in Portal.
    How to achieve this.
    I can call PROCESS_DIALOG from WEBSERVICE BO.
    But I am not sure, how the task is connected.
    If its a ABAP-WebDynpro Application involved here, How to find out which WebDynpro application has been used.
    Thanks
    Senthil

    Assign the Task to a WebDynpro Application in tcode SWFVISU.
    Cheers

  • Group Task by UWL

    Hi All,
    I want to allow users to group by task in UWL instead of getting a list of all workitems awaiting their approval.
    Does anybody know how to create a Dropdown containing group by task in UWL?
    Thanks,
    Yossi

    Hi
    Yes, i have found the xml from both the Portal and compared using NWDS. But find no difference.
    The XML file has same word to word contents , i have also downloaded, deleted and re-uploaded the files, but no good results as the filter is not appearing...
    Vijay Kalluriwrote:
    <AllowedFilters>
            <CompoundExpression logicalOperation="AND" defaultViewFilter="yes" referenceBundle="filter_display_all"/>
            <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_new">
              <Expression name="status" value="NEW" comparator="Equals"/>
            </CompoundExpression>
            <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_inprogress">
              <Expression name="status" value="INPROGRESS" comparator="Equals"/>
            </CompoundExpression>
            <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_duetoday">
              <Expression name="dueDate" value="Today" comparator="Equals"/>
            </CompoundExpression>
            <CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_overdue">
              <Expression name="dueDate" value="Today" comparator="LessThan"/>
            </CompoundExpression>
          </AllowedFilters>
    Hope this is Help full for u,
    Regards,
    Vijay Kalluri

  • Trying to open a task in UWL, system shown an message

    Hi Frineds
    While trying to open a task in UWL, system shown an message
    SSO logon not possible; invalid host name for issuing cookie
    Choose "Logon" to continue A dialog box appears in which you can enter your user and password
    No switch to HTTPS occurred, so it is not secure to send a password
    Plz let me know the reason and how to fix it
    Regards
    Kumar

    SSO logon not possible; invalid host name for issuing cookie
    You can do this
    (1) Set the security trace level in the ticket accepting system
    ======================================================
    1. Call transaction SM50 (process list):
    2. Process -> Trace -> Reset -> Workprocess Files
    3. Key combination: F5 (select all), CTRL-Shift-F7 => Dialog box;
    4. Set trace level=3 and ONLY(!) check the "Security" component;
      If necessary, you must repeat these steps for each server (see
      transaction SM51), unless you can use a specific server for
      reproducing the error (for example, by excluding the load
      distribution).
    (2) Run the webdiagtool as per example 3.
    (3) While the webdiagtool is running, please reproduce a failed attempt
    to the backend
    (4) When the SSO fails, wait a minute and then press return in the
    diagtool console so that the resulting traces are picked up
    Please check the configuration in portal, use fully qualified domain
    name instead of host name.

  • Forwardingh GP tasks in UWL.....

    Hello experts
    I have configured GP tasks in UWL.iam dispalying these GP tasks in Customised UWL iview not in standard ivew.
    my requirement is.. i need a button like "forward" and when i click the button .,GP tasks should be forwarded to another person.
    how can i achieve this..
    thanks in advance...
    regards
    vijay.

    Hi,
    when iam trying to forward the GP tasks from UWL in EP 7.0  iam getting Exception like...
    "Unable to perform the request. Try again and if the problem persists, inform your system administrator.
    what could be the reason.we are not using CE to develop the GP process. GP processes are generated on portal itself.
    any idea...
    thanks
    regards
    vijay

  • How to reassign a workflow task which has been already acquired

    Hi,
    I would be glad if anybody could explain how to reassign a workflow task which is been acquired by one user to another user. I am getting Worklist Service Task Update Error when I am trying to change acquired by field and update the task.
    Thanks,
    Mythili

    I can use delegateTask() if the context belongs to the person who acquired the task but I want to delegate a task to different person even if it is not me who acquired the task.
    My second question is when should I set Assignees for a task?Is it when a person acquires a task for the first time or do I need to specify it in some configuration file, so that every task that is created newly will have a set of assignees by default.
    Thanks,
    Mythili.

  • How to create a custom task in SRM for the standard task

    Hi Gurus,
    How to create a custom task in SRM for the standard task  eg: TS10407929
    regards,
    George.

    from PFTC itself. Same.

  • How can I delete the task bar in iOS7

    How can I delete the task bar in iOS7

    Stop Task Bar (Control Center) from popping up?
    Settings>Control Center>Access Within Apps

  • How can i have my tasks in order by date like outlook on my iphone 4

    how can i have my tasks in order by date like outlook on my iphone 4

    Use a task management app that sorts by date? There are lots of options in the App Store.

  • How to create a warehouse task in EWM

    Hi Experts,
    In Extended Ware house management(EWM), how to create a Warehouse Task against inbound delivery order,
    if there any standard method's is available, if not any custom methods, plz let me know.
    my issue :
    am retrieving a Productid, batch, location from various tables.
    now along with this i have to find the inbound delivery order,
    for this inbound delivery order , i need to create a warehouse task.
    please let me share.
    Regards,
    Nag.

    from PFTC itself. Same.

Maybe you are looking for

  • Help needed for Project Work

    +People..I am new to this forum and your help is absolutely essential as it for my project work. There are two questions in my project. This is the second one. The first question is at the following thread. http://forum.java.sun.com/thread.jspa?threa

  • I have no bookmarks in Firefox 4 and can't restore or import any.

    After I upgraded (?) to Firefox 4, I opened Bookmarks - Show All Bookmarks and it was empty. None of my bookmarks, no default bookmarks, no bookmarks at all. Weird, but easy to fix, or so I thought. I went to Import and Backup, Restore, and picked a

  • IWLS not accessible

    Studio Edition Version 11.1.1.7.0 Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493 Oracle IDE 11.1.1.7.40.64.93 Hello friends, When I run the IWLS for my JDeveloper instance, the start-up completes and I get the message saying that the server is run

  • Inactive field Company code in production

    Hello all, in the production system and in transaction PPOME I can change the value in field Company code (folder Account assignment) for the parent org. unit. If I select an org. unit which hangs from the parent, then the field is inactive and I can

  • Creating Empty Folders in Build Specificat​ion

    I'm trying to create a build specification that creates sub folders with data required by the application.  This works out ok, but I also want to create empty folders the the app will use for data output.  I can't get the build to createa folder unle