"completed" status tasks in UWL giving Exception...

Hi All,
Once the Request is approved successfully at all the Levels, the status of the Request in UWL shows as "completed" and the request is moving to "Tracking Tab". But, if we click on this completed status Request, it is giving "500 Internal Server Error/Null Pointer Exception". If anyone has idea, how to fix this issue, Please advise me.....
Thanks in Advance..
Thanks & Regards||
Ashok Kumar M.

Hi Ashok,
                 Navigate to SystemAdministration -> System configuration -> Universal Worklist ->Workflow -> Universal Worklist Administrationand then select the link: "Click to Manage Item Types and View Definitions" and then download the uwl.gp.config configuration files.
Then u can add this following tag to there (uwl.gp.config.xml)
    <ItemType name="uwl.completedtask.gp" connector="GuidedProceduresConnector" defaultView="uwlTaskGPView" defaultAction="launchGP" executionMode="default">
          <Actions>
            <Action name="launchGP" groupAction="no" handler="IViewLauncher" referenceBundle="launch_sap" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowName="GPWindow" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="DynamicParameter" value="app.processId=${item.processID}&amp;app.taskId=${item.activityID}&amp;"/>
                <Property name="page" value="pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance"/>
                <Property name="System" value="SAP_LocalSystem"/>
              </Properties>
            </Action>
          </Actions>
    </ItemType>
Then overwrite the same file
Regards,
Vinoth

Similar Messages

  • Navigation back to UWL after completing the task.

    Hi All,
    I am new to the portal, I would like to know is there any way to navigate back to UWL after completing a task in UWL instead of seeing the action is completed screen?
    Thank you in advance.
    Regards,
    Ravi

    Hello Ravi,
    Open the UWL iView, there will be a parameter named 'Path to the UWL iViews' which needs to be set to 'portal_content/every_user/general/uwl'
    Please check and confirm.
    Regards,
    Ritu

  • Completed tasks in UWL

    Hi Experts,
    Is there any way to hide only the completed work items items and keep only the active workitem open in UWL?
    And does the workitem in cancelled or submitted status appear in UWL?
    any input will be highly appreciated.
    regards,
    amit bagati

    I could not undersand
    already the completed workitems are removed from the UWL, when ever you execute the workitem in the UWL , so again what do you want to hide and show
    can you be more clear!

  • Set the workflow about PPR process as completed status with a report.

    Hi Gurus,
    I need to complete a workflow and all regarding task from UWL.
    To do this, I implemented 2 functions module: the first to execute the dialog step and the second to set the dialog step as completed status.
    When I run the report the both function module doesn't work. Sy-subrc  return me different result as 0.
    If I execute the SWIA T-code, I see all the task and there I execute the "dialog step" WORK ITEM to set it from ready status to started status and after I use "complete manualy" for the same task then the workflow created a new "dialog step" WORK ITEM I do the same with it and the workflow is completed.
    So I would like to do the same in a report with SAP_WAPI_SET_WORKITEM_STATUS and SAP_WAPI_DECISION_COMPLETE functon module ... please see my code below:
    loop at lit_wi_stat where wi_type = 'W' and wi_stat = 'READY'.
    *to set dialog step WORK ITEM as started status.
          call function 'SAP_WAPI_SET_WORKITEM_STATUS'
            exporting
              workitem_id          = lit_wi_stat-wi_id
              status               = 'STARTED'
              user                 = sy-uname
              language             = sy-langu
              do_commit            = 'X'
            importing
              new_status           = lit_wi_status
              return_code          = lv_subrc
          TABLES
            MESSAGE_LINES        =
            MESSAGE_STRUCT       =
    *to set dialog step WORK ITEM as completed status
          call function 'SAP_WAPI_DECISION_COMPLETE'
            exporting
              workitem_id          = lit_wi_stat-wi_id
              language             = sy-langu
              user                 = sy-uname
              decision_key         = '0001'
              do_commit            = 'X'
          IMPORTING
            RETURN_CODE          =
            NEW_STATUS           =
          TABLES
            MESSAGE_LINES        =
            MESSAGE_STRUCT       =
        endloop.
    But it doesn't work correctly.
    Maybe you have a better idea to reproduce the complete process in a report.
    Thanks in advance for your reply..
    Best regards.
    Julien.

    Hi Chandni
    I would presume that you are calling some activity step to perform some operation ...when this fails, you are passing some flag to the workflow to send the email and the "planned" error!
    It's pretty simple then:
    1) Analyze the flag using a condition step
    2) Use mail step to send the email
    3) Call a custom method to raise a workflow exception - workflow will go in error.
    More on Workflow Exceptions:
    BO Based Exception:
    http://help.sap.com/saphelp_nw73EhP1/helpdata/en/4f/372e0cf5d95541e10000000a421937/content.htm?frameset=/en/4f/3457d50a7b5542e10000000a421937/frameset.htm
    How you can define custom BO:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0f157e8-456b-2910-8ea5-c57d9267c913?overridelayout=true
    Or you can also trigger Class based Exceptions if you are using ABAP OO for workflow (custom functionality via Class using IF_WORKFLOW Interface). Just make sure you make your Custom Exception Class as a child of CX_BO_TEMPORARY or CX_BO_APPLICATION
    Regards,
    Modak

  • You are not authorized[...] while completing bpm task.

    Hello community,
    i am facing a strange problem while completing bpm tasks. System is 7.3.1 SP5. User opens bpm task out of UWL or directly via link out of a email. The task UI is a WD4J component. Claiming works fine, UI is shown and user can work with it but on completion, an exception occours and the task does not complete and stays in the UEL. All the WD4J logic on completion is executed correctly before the exception occours. This only happens in about 1 out of 100 cases and i can not recreate it on purpose. Anyway this is very very annoying in the productiv system since the user thinks the task is completed correctly and clicks it away. By the way, the user ofcourse is authorized via relevant bpm roles and can complete other tasks as well.
    Here a part of the stacktrace:
    Thanks for your help.
    BR Tobias.

    Hi Tobias,
      the task was opening successful and the WD was working fine. But the triggering of the completion event was not possible.
      It was fixed with patches as described in note 1811953 - Direct link to task execution UI does not work for CHIP UI
    Regards,
    Vasilis

  • To Complete the task without taking complete action in BPM worklist.

    In my project ,there is one requirement that to complete the task without taking complete action in BPM worklist.
    So I am trying to acheive this using JAva API of BPM worklist.
    For that I have followed the approach given in below link
    http://technology.amis.nl/2007/02/invoking-bpel-worklist-api-from-remote-server-with-java/
    Created java application and imported all the required libraries and jars.
    while running this application it is giving following error
    NoClassDefFoundError: oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl
    This is due to absence of 'ServiceDelegateImpl.class' which should be present in webclient.jar ,
    I have also added the same jar from jdeveloper\webservices\lib folder.
    but the thing is ServiceDelegateImpl class is missing in webclient.jar.
    I have downloaded the same jar from internet and tried various versions also.
    still the problem persists.
    Which jar should I add ? or any other configutation is required ?
    Am I following correct approach?
    Any suggestions on other approach would be appreciated.
    Thanks in advance.

    Hi Marc,
    You can set the task Process Owner (i.e. TaskProcessOwner) to the group which Bowman and
    Laura belong to from SharePoint Designer, then they should be able to complete the re-assigned task.
    http://www.fourbuckeyes.com/2013/06/07/task-delegation-in-sharepoint-2010-approval-workflows/
    http://community.rightpoint.com/blogs/viewpoint/archive/2012/04/17/sharepoint-designer-2010-workflow-advanced-properties.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • To complete multiple tasks in a single window without closing individual

    Hi Folks,
    How much it is possible to complete multiple BPM activities in a single window?
    Suppose i have a BPM process which contain 2 swimlanes and 4 steps.
    First 2 and 4th step is assigned to swimlane A and step3 is assigned to Swimlane B.
    Two users are involved in process and users are assigned at swimlane level.
    I want User A which is assigned to Swimlane A to complete first 2 steps in a single attempt without closing windows each time.
    As of now once a particular activity is over BPM prompts user to close window and then again select your task from UWL inbox and proceed. Is there any way to avoid that?
    Thanks in anticipation!
    Mandeep Virk

    It is not a bug, but a new feature.<br />
    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=626825 bug 626825] - Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)
    ''(please do not comment in bug reports; you can vote instead)''
    See also:
    * [[/questions/799856#answer-155765]]

  • Complete Status of Purchase Order

    HI SRM Gurus,
       For SRM 7.0  system, for purchase Order  what is the signifance of "Transaction Completed"  status ?
    I have completed one purchase Order which has open item.
    At header level it sets "Transaction Completed" status in SRM PO. but neither it set delete indicator nor delivery complete indicator of open PO items . Hence i wonder what is the signifiance of complete functionality of PO in SRM.
    Can you please through light on this topic ?
    Regards,
    Kalandi

    Checks (SRM-SUS)
    Before SAP SRM SUS documents are archived, they are processed by a check program to determine if they qualify for archiving. This validation procedure prevents documents that still require processing, erroneous documents, and current documents from being archived and subsequently deleted from the database.
    The residence time is a general criterion used to determine when SUS documents are archived. Each document must remain in the system for a certain period of time (the retention period) after it was last changed before it can be archived.
    For more information about setting retention periods, see the Supplier Relationship Management Implementation Guide (IMG):  Supplier Relationship Management  Supplier Self-Services  Cross-Application Basic Settings  Archiving of Documents  Define Residence Times for Documents .
    Note
    Only SUS documents from completed business processes are considered for archiving. Before you can archive documents, you need to complete the business process to which they belong.
    End of the note.
    During the check process, the system also checks the relevant follow-on documents. If these documents have been created and completed, the relevant business transactions are assumed to have been completed. In particular, if a SUS purchase order can be archived, then so can the relevant follow-on documents.
    *The status Transaction Completed is only applicable to SUS purchase orders and indicates that the document flow has been completed.* This means that all necessary documents in the document flow have been created and that, in the SUS EBP scenario, the confirmations and invoices pertaining to the purchase order have also been approved.
    As well as the follow-on documents, the ordered quantity (or the quantity confirmed by the supplier if a purchase order response was requested) and the quantity specified in the follow-on documents must be considered. A purchase order can have one or more follow-on documents for each document type. If the total amount of item values of the follow-on documents does not match the total order value, the process step is not complete. In this case the system does not apply the status Transaction Completed to the original SUS purchase order.
    An exception to this process is when a final delivery indicator has been set for an advanced shipping notification or for the invoice. Only the purchaser can set this indicator, which is used to show that no further delivery or invoice is expected and that this particular process step is completed. This information is only available on the purchaser's side in the purchasing system.
    Example
    A SUS purchase order has one or more advanced shipping notifications (ASN). If the total quantity specified in the ASNs does not match the quantity specified in the purchase order, it implies that some of the goods ordered have not yet been delivered. The delivery process step is therefore not yet completed even though invoices have been created for the existing ASNs.
    http://help.sap.com/saphelp_srm70/helpdata/EN/d8/757af9204942aa86735dfefc62e9cd/frameset.htm

  • Different task in UWL than Business Workplace

    Hi,
    I have problem with tasks.
    Why in Business Workplace (R/3) I have only tasks "In Progress"? But in UWL in SAP Portal I have all of status tasks?
    What must I do? I want the same tasks in <i>UWL</i> and in <i>Business Workplace</i>.
    <b>thanks,</b>
    Bogdan

    Hi,
    Here is something you can do to troubleshoot the problem:
    Open NetWeaver Administrator of your host
    Go to Operation Management > Processes and Tasks > Manage Processes
    Look if you can see your process under 'Processes in Error State', this is selected by default in the process list. If you can see the process there, you can probably see what is wrong with it in the 'Details of Process Instance' table. Look also for hints in the History tab where you can select to show advanced log items.
    If your process is not shown in 'Processes in Error State', then you should be able to find it if you select to show 'All Running Processes'. Again have a look at the advanced details in the 'History' tab. Look for entries related to creation of tasks there, this means that a task has actually been created. You can see the active tasks in this process by clicking the 'Show tasks' button.
    If this shows you a task, go to the 'Owners' tab to see that your user is actually a potential owner of the task.
    Hope that this helps,
    Vladimir

  • How to re-run the operation that is in complete status?

    This sounds funny, but here is my scenario:
    I got 10 operations in a process. In the 6th step, it fetches the username to be assigned in the 7th step from the custom DB using JDBC service.
    Unfortunately, the username was not maintained properly (with some mistyping in the DB). In the 7th step, I use Assign User service which takes the username got from 6th step. As it cannot find the username (as it was a mis-spelt name), the operation stalls.
    If I see the status of the process,
    I see
    step1 - COMPLETE
    step 5 - COMPLETE
    step 6 - COMPLETE (fetching record from DB)
    step 7 - STALLED (with error - user name doesnot exist)
    i realized the error and corrected the Custom DB with right username.
    Now my question is, How can I re-execute the whole process from step 6?
    I checked it, but adminui doesnot allow to re-run the operations with COMPLETE status. if I rerun the step 7, there's no use as it is still holding the wrong user name.
    Only option i see is asking the users to trigger it again from step 1 which doesnt make any sense for user as they think it's a re-work for them again and also there are multiple users in between the process who approves the form and they all have to rework on this.
    highly appreciate your help on this.
    Thanks,
    kc

    Hi Nith,
      I tried exactly the same way and it worked perfectly in my test system. However in my prod system,
    After I added the exception and routed to the stall process, I saw that process got halted this (below screen shot) way. After the invalid principal exception thrown, it should goto the next step which is Stall process that generates the stalled branch error.
    As it got stopped here, now its not even allowing me to retry the operation. The process status is still in running state. I'm suing 8.2 ES.
    I'm not understanding why the same steps worked in Test system, and not in Prod system.
    very much appreciated if you can help me on this:
    In PROD:
    Retry Terminate  
    Operation Name
    Status
    Branch Name
    Start Date
    Completed Date
    Employee Owner Review
    EXCEPTION THROWN
    main-branch
    February 7, 2012 11:15:04 AM EST
    Assignments [3]
    COMPLETE
    main-branch
    December 19, 2011 12:14:33 PM EST
    December 19, 2011 12:14:33 PM EST
    Search E Owner
    COMPLETE
    main-branch
    December 19, 2011 12:14:22 PM EST
    December 19, 2011 12:14:32 PM EST
    Apply Rights
    COMPLETE
    main-branch
    December 19, 2011 12:14:22 PM EST
    December 19, 2011 12:14:22 PM EST
    In TEST: (this throws the branch error - execute13 is the stall process)
    Retry Terminate
    Operation Name
    Status
    Branch Name
    Start Date
    Completed Date
    execute13
    COMPLETE
    main-branch
    February 8, 2012 12:16:25 PM EST
    February 8, 2012 12:16:25 PM EST
    Employee Owner Review
    EXCEPTION THROWN
    main-branch
    February 8, 2012 12:16:24 PM EST
    Search E Owner
    COMPLETE
    main-branch
    February 8, 2012 12:15:34 PM EST
    February 8, 2012 12:15:40 PM EST
    Thanks,
    kc

  • The Type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule1' threw an exception

    Hello,
    I am getting the error message listed in the topic subject when i try to install the Exchange Server 2013 SP1 Evaluation Mode downloaded from your website. After completing all requirements & pre-requisites, I started the installation with the Mailbox
    & Client Access role selected, when i get to the screen which says "Readiness Check" main page subject, and the progress says Configuring Prerequisites, before any progress in the %, i get the error message:
    The Type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule1' threw an exception
    and it says retry.
    Knowing that the server is a member of a domain.How would i resolve this issue?
    Thanks,
    Elie

    hi Ed,
    i am running Windows Server 2012 R2 Standard Evaluation Edition with Exchange Server 2013 Evaluation, But that error message was resolved by removing and re-installing .NET Framework 3.5. That is fine now.
    But now i am getting another error message When it tries to install the Management Tools.
    (Step 1 of 9: Management Tools)
    Error: The Following error was generated when "$error.Clear();
    Set-LocalPermissions
    "was run: "The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation"'
    knowing that the server is part of a domain and the domain controller runs Windows Server 2008 R2 Evaluation Edition.
    Any ideas why this error message popups up?
    Regards,

  • Cannot Display Page - You cannot complete this task...

    Hello,
    We are getting the error(session timeout) when user complete the course(content is stting on remote server) and going back to OLMS(EBS R12.1.3) to update the status of course/test.
    Can you please help us to find out the rootcause as this issue is intermittent for users?
    Error:
    Error: Cannot Display Page
    You cannot complete this task because one of the following events caused a loss of page data:
    .Your login session has expired.
    .A system failure has occurred.
    Thanks in advance,
    RM

    The same docs is applicable to R12 for the profile option.
    For application server files, please see (11i/R12 How to Debug "Transaction Context Is Lost" or "You are trying to access a page that is no longer active" [ID 456906.1] -- 2. Dying of jserv/oc4j JVM & 3. jserv/oc4j timeout).
    Also, see (R12: Forms Timeout More Than 2 Hrs Is Not Working After R12 Upgrade [ID 734077.1]).
    Thanks,
    Hussein

  • 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

  • Can we set complete status of delivery

    As in sales order we can use reason of rejection to set complete status of sales order similarly is there anyway we can set complete status of delivery at vl02n.(except pgi ofcourse)
    Regards,
    Sam

    Hi,
    You need to delete the delivery in VL02N in case you do not want to go ahead with PGI. In case PGI has been done already, kindly reverse the same in T-code VL09 and then delete the delivery in VL02N. Then put reason of rejection in line item of sales order.
    Thanks & Regards,

  • Automated Task Redo Execution Mode Exception

    We have an automated task with only one automation plugin, this automation plugin is Xquery Sender type which is being executed in Do and Redo Compensation modes and sends a XML message to a JMS Queue with custom Correlation Id and this automation plugin complete the task immediately without expecting any type of answer.
    The XML message produced from the automation plugin mentioned before is processed by another automation plugin that exists in another OSM Order but the cartridge is deployed in the same OSM instance.
    In Do execution mode the plugin works as we expected but in Redo execution mode the log is raising the following exception:
    ORA-01422: exact fetch returns more than requested number of rows
    We were reviewing the following tables in the OSM database while the process is executing:
    OM_AUTOMATION_CTX
    OM_AUTOMATION_CORRELATION
    And we noted that at the end of the execution task the records corresponding to this task in the table weren't deleted, for this reason we have conflicts with the correlation id setted by the task that send the message and the task that received the same message raising the error that we explain in the paragraph above.
    In the test process that we've done to identify the cause of this behavior we could see the following: If the task that sends the message has two automation plugins the first to send the XML message and the second to receive an answer, the records in the tables were deleted and the exception isn't raised. But when the task only has one automation plugin to send the XML message with a XQuery Sender plugin and continue to the next task we received the exception described in this case.

    Hi Andres,
    Correct, the entries in the DB tables are not getting deleted irrespective of what task mode it is running. You probably might have to raise an SR.
    Considering the above fact, we shall ignore about the entries in the DB table and try out the below work around if applicable.
    You might be aware of this work around, you can generate a unique Correlation ID every time that automation plugin executes so that there won't be exceptions of duplicate Correlation ID entires in the Tables(irrespective of execution mode Do/Redo/Undo) otherwise do not provide correlation ID at all.
    Thanks
    Naveen Jabade

Maybe you are looking for

  • CCM 8.6.1- Installation Failed. Restart install to recover from failure

    Hi All, I am installing CCM 8.6.1 on an MCS7835I3 platform. The platform came with CCM 8.6.1 preloaded on the harddrive. During the installation linux detected some compenents like NIC, Raid, and USB. then after checking some components i face below

  • C application hangs intermittently on invoking Closehandle() function in Win 7 64bit OS

    Hi, I have a application which basically deals with network operations like begin session, send/receive etc. The application also has mutex create, request and close. Before terminating the transaction between the client and server, there is a call t

  • Cannot Download 9i r2 for Windows XP

    Cannot download Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XP for all the time the download finish at the wrong filesize. For ex. 5MB, 7MB or 60MB. for disk1, disk2 or disk3

  • Grouping formula

    Hi, Is it possible to group records within range? I have to group record for a range of dates (start day + x days). When I tried to make a formula and then group on that formula I got error that returning value cannot be range. I tried few constructi

  • MDM 7.1 Archiving

    Hi experts We are archiving our product repository on a daily basis. And we want to create a backup repository also for the same on a daily basis. How we can automatically do this task?(We are using 7.1 version) Thanks in Advance Dhanish Joseph