No. of outstanding tasks/New tasks in UWL

Hi Experts,
I need your help in showing the number of outstanding tasks and number of new tasks  that are coming in UWL in portal home page.
I need to develop one par file in achieving this. Can you please let me know what services I need to use to get those details.
I need only the number of outstanding tasks and number of new tasks , but not actual task details.
Thank you,
Raghavendranath G

It could be something like:
<%@ page import = "java.util.HashMap"%>
<%@ page import = "com.sap.netweaver.bc.uwl.Item" %>
<%@ page import = "com.sap.netweaver.bc.uwl.UWLException" %>
<%@ page import = "com.sapportals.portal.prt.component.IPortalComponentRequest" %>
<%@ page import = "com.sapportals.portal.prt.component.IPortalComponentResponse" %>
<%@ page import = "yourCompany.FrameworkUtils" %>
<%@ page import = "yourCompany.UWLHelper"%>
<%
    try {
        SafeResourceBundle safeBundle = FrameworkUtils.getFrameworkSafeResourceBundle(componentRequest.getLocale());
        HashMap tasks_counter;
        UWLHelper uwl_helper = new UWLHelper(componentRequest);
        tasks_counter = uwl_helper.getUWLItemCounter();
        String itemDetailsLink = componentRequest.getComponentContext().getProfile().getProperty("uwl_path");
        String linkToDetailPage="<a href='" + itemDetailsLink + "'>";
        if (tasks_counter.size() != 0) {
%>
<!-- heading -->
<div class="heading">
<h2><%=safeBundle.getSilent("widget.worklist.my_tasks")%></h2>
<span class="number"><%=tasks_counter.get("uwlItemIncomplete")%></span></div>
<!-- list -->
<ul class="list">
<% if ((Long)tasks_counter.get("uwlItemNewCounter") > 0 ) { %>
    <li><%=linkToDetailPage%><strong><%=tasks_counter.get("uwlItemNewCounter")%></strong>
    <span><%=safeBundle.getSilent("widget.worklist.new_tasks")%></span>
    </a></li>
<% } %>
<% if ((Long)tasks_counter.get("uwlItemDueCounter") > 0) {%>
    <li><%=linkToDetailPage%><strong><%=tasks_counter.get("uwlItemDueCounter")%></strong>
    <span><%=safeBundle.getSilent("widget.worklist.due_today")%></span>
    </a></li>
<% } %>
<% if ((Long)tasks_counter.get("uwlItemInWorkCounter") > 0) {%>
    <li><%=linkToDetailPage%><strong><%=tasks_counter.get("uwlItemInWorkCounter")%></strong>
    <span><%=safeBundle.getSilent("widget.worklist.in_progress")%></span>
    </a></li>
<% } %>
<% if ((Long)tasks_counter.get("uwlItemHighPriority") > 0) {%>
    <li><%=linkToDetailPage%><strong><%=tasks_counter.get("uwlItemHighPriority")%></strong>
    <span>high priority tasks</span>
    </a></li>
<% } %>
</ul>
<%
       } catch (UWLException e) {}
%>
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import com.sap.netweaver.bc.uwl.*;
import com.sap.security.api.IUser;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.prt.runtime.PortalRuntime;
import com.sap.netweaver.bc.uwl.UWLException;
import com.sap.netweaver.bc.uwl.config.UWLView;
public class UWLHelper {
private IUser uwl_user = null;
private IPortalComponentRequest request;
private IUWLService uwlService = null;
private UWLContext uwlContext = null;
private IUWLViewManager viewManager = null;
private UWLView view = null;
private static String viewName = "DefaultView";
public UWLHelper(IPortalComponentRequest request) throws UWLException
    this.request = request;
    this.uwl_user = request.getUser();
    //getting UWL Service and context
    this.uwlService = (IUWLService) PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);
    this.uwlContext = new UWLContext();
    uwlContext.setUser(uwl_user);
    uwlService.beginSession(uwlContext, 20);
    //getting a view
    this.viewManager = uwlService.getViewManager(uwlContext);
    this.view = viewManager.getView(viewName, uwlContext);
private List getTasks() throws UWLException
    //get all items from view for logged user and puts them in a list
    IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
    QueryResult result = itemManager.getItemsForView(uwlContext, view, null, null);
    //int size = result.getTotalNumberOfItems();
    ItemCollection collection = result.getItems();
    java.util.List list = collection.list();
    return list;
//get UWL tasks and count new, executed, open, high priority and running out tasks. This method returns a Hashmap with 5 appropriate items
public HashMap getUWLItemCounter() throws UWLException {
     java.util.List list = this.getTasks();
     int uwlItemNewCounter = 0;
     int uwlItemInWorkCounter = 0;
     int uwlItemDueCounter = 0;
     int uwlItemIncomplete = 0;
     int uwlItemHighPriority = 0;
     if (list != null) {
         for (int i = 0; i < list.size(); i++) {
             Item uwlItem = (Item) list.get(i);
             //sum of all incomplete tasks (also with status==null)   
             if (uwlItem.getStatus()==null ||
                 uwlItem.getStatus().equals(StatusEnum.NEW) ||
                 uwlItem.getStatus().equals(StatusEnum.INPROGRESS) ||
                 uwlItem.getStatus().equals(StatusEnum.EXECUTED) &&
                 (!uwlItem.getStatus().equals(StatusEnum.COMPLETED) ||
                  !uwlItem.getStatus().equals(StatusEnum.CANCELLED))) {
                 uwlItemIncomplete++;
             if (uwlItem.getStatus() != null) {
             //high priority item
             if (uwlItem.getPriority() == com.sap.netweaver.bc.uwl.PriorityEnum.HIGH) {
                 uwlItemHighPriority++;
             //new uwl item
             if (uwlItem.isNew()) {
                 uwlItemNewCounter++;
             // uwl item in progress or executed but not completed
             if (uwlItem.getStatus().equals(StatusEnum.EXECUTED) || uwlItem.getStatus().equals(StatusEnum.INPROGRESS)) {                   
                 uwlItemInWorkCounter++;
             //running out task
             if (uwlItem.getDueDate() != null) {
                 long uwlItemDueDate = uwlItem.getDueDate().getTime();
                 Calendar calendar = Calendar.getInstance();
                 calendar.set(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar
                     .get(Calendar.DAY_OF_MONTH), 0, 0, 0);
                 long currentDate = calendar.getTime().getTime();
                 // 86400000 milliseconds equals with one day
                 if ((currentDate + 86400000) > uwlItemDueDate) {
                     uwlItemDueCounter++;
     HashMap hashMap = new HashMap();
     hashMap.put("uwlItemNewCounter", new Long(uwlItemNewCounter));
     hashMap.put("uwlItemInWorkCounter", new Long(uwlItemInWorkCounter));
     hashMap.put("uwlItemDueCounter", new Long(uwlItemDueCounter));
     hashMap.put("uwlItemIncomplete", new Long(uwlItemIncomplete));
     hashMap.put("uwlItemHighPriority", new Long(uwlItemHighPriority));
     return hashMap;

Similar Messages

  • UWL : New tasks are not getting populated in the UWL

    Hi Experts,
        I<b> configured my uwl to my backend system , the completed tasks are getting populated in the UWL but the New tasks and in progress tasks are not getting populated in the UWL.(some thing strange).</b>
    When  i am trying to configure the universal  worklist system ,its givin me a caution message as  <b>System SHDCLNT012 does not support optimized delta pull</b> . where SHDCLNT012 is the system alias name.
    Is this the problem for not populating the new tasks in the UWL?
    Please provide me  the solution..
    Thanks & Regards,
    Sateesh

    Hi Sateesh,
    This message will appear if either the background jobs are not scheduled, or UWL cannot tell that the background jobs are scheduled. The message no longer appears once you ensure the background jobs are scheduled to run via the user id UWL_SERVICE and that user is mapped to my portal user ID UWL_SERVICE.
    Kai

  • Creation of new task in uwl

    Hi experts,
    We are trying to create new task in Universal worklist.(UWL). But we can't manage or attach  the attachments here. It shows the system error. which configurations are needed other than uwl configuration?
    Thanks
    veeranji

    ,we would like you to redeploying the uwljwf.sca.
    Usually there is no extra config required, check your KM config
    The global attachments service is activated in
    the KM standard configuration.???
    So,we would like you to refer to the following help link to
    make sure the service had been configurated firstly.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ac/
    671e405d21c442e10000000a1550b0/frameset.htm
    The redeployment of the UWLJWF.SCA will not affect the configuration
    and the user data.

  • UWL - Subsitution rules: create new tasks group

    Hi all,
    When creating new substitution rules in UWL, we can choose between three task groups (All, Disciplinary, Professional).
    Is it possible to create new task grouping, and so, group task by task type/ID ? How can I define new grouping?
    Thanks a lot in advance,
    Cheers,
    Olivier
    Solved.
    Edited by: Olivier Gaspard on Aug 26, 2009 12:35 PM

    This can be achieved by maintaining task classes and assigning substitution profiles to task classes as per your needs.
    Then you can assign the required tasks to the task classes.
    There is a very well explained document on this scenario.
    Check this document to achieve what you are looking for:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/109d2ea2-035c-2c10-06be-f6165ba7af11?QuickLink=index&overridelayout=true
    Hope it helps !!
    Thanks,
    Shanti

  • Substitute tasks not shown in UWL but available in SBWP

    Hi, I am trying to test substitute functionality in our custom iview. I have added code(available in attached file) in UWL XML which shows Manage Substitution button and substitute tasks are shown in SBWP but not in UWL.  What else I need so tasks show up in UWL? Thanks in advance

    Nilesh Telkikar wrote:
    Is there any authorizations required in portal to add substitution?
    page 14, http://www.sap-press.de/download/dateien/1461/146_leseprobe.pdf
    Nilesh Telkikar wrote:
    I see entries in SAP table HRUS_D2 but portal table KMC_WF_SUBSTITUTE is empty when I add substitution.
    sorry, Im not familiar with the table. But regarding your expectation of new entries, did you saw that already?:
    UWL FAQ - Business Process Expert - SCN Wiki
    Substitution - Getting Started - Using SAP Software - SAP Library
    regards

  • Collaboration Room Task - Remove New Task button

    Hi,
    We have My Task iView on all our home pages which are available to internal and external users. We do not want to give "New Task" button for external users. Is there any way to hide New Task button based on Users or Roles, or remove New Task button from the My Task iView. Please let me know if you know any other solution.
    Thanks
    Som

    Hello,
    there is an update in the configuration documentation coming up shortly (In oct.) - it wil be available online on the Help portal.
    But as of now, please follow the process as listed here:
    also please let me know in case this is not working for you.
    Removing Actions From the UWL Display
    There are a couple of ways to remove actions. 
    ·        You can customize the Views and ItemType (which can remove the actions from all UWL pages, Collaboration, My Task, and so on)
    ·        You can modify the iView and add the name of the actions under the Action to exclude from the UWL property.
    See the list below for some of the common action names.
    Note: For other actions not listed here, see the custom properties XML files.
    in the list below you will see the "Display Text" for the action followed by the "Action Name"
    Alerts Configuration 
    AlertConfiguration
    Claim --- reserve
    Complete---- acknowledge
    Complete Task --- confirm 
    Create Ad Hoc Request --- uwlTaskWizard
    Create Task --- defaultGlobalWizard
    Decline --- decline
    Delete  -
    deleteItem
    Edit --- editItem
    Follow-up --- followUp
    Forward --- forward
    Forward --- forwardUsers *
    Manage Attachments --- manageAttachments
    Open Task --- launchSAPAction
    Personalize View --- personalize
    Revoke Claim --- replace
    Submit Memo --- addmemo
    View Detail in SAP Gui -
    launchSAPDetails
    - this action is for multiple user selection.
    Note:
    If excluding more than one actions, the action names must be comma separated.
    Note:
    Do not add ALL of the above listed action names to Actions to Exclude iView property. Be selective in what actions you want to remove. To determine the action name you want to remove, you can turn on the support information page (see below) and a list of support action will be displayed per item displayed.
    Example
    Suppose you do not want the Personalize View function on the UWL view. You can remove it by adding personalize to the iView property List of UWL Actions to Exclude.
    Turning on the Support Information Section
    From the UWL iView configuration, select Yes for the parameter Display UWL Support Information.

  • Edit the 'New Task' iView

    Hello!
    I want to know if there's a way to edit the 'New Task' iView from the Universal Worklist iview (com.sap.netweaver.bc.uwl.ui.UWL).
    I want to put a specific USER in the field 'Assigned to' and make it fixed, where the user could not change it.
    Is it possible ? how can it be done ?
    Thanks in advance,
    Alessandro

    Hello Alessandro,
    New UWL Task iView is based on an WebDynpro application. There are two ways to accomplish your task:
    1) Write your own, completely new, application
    2) Use and modify existing standard one.
    No doubt, second approach is easier.
    You are interested in application
    tckmcbc.uwl.ui~wd_ui/UWL
    (WD Project : tckmcbc.uwl.ui~wd_ui ; Application : UWL)
    Workaround is following:
    1) download this app. from WEB AS
    2) import it into your NWDS, the sources are built in
    3) Modify UWL application (component)
    4) ... the most challenging point, depends on the access point you want to use your modified app. at.
    When deploying, you usually upload your application to "local" namespace. In this case, u have to modify the link of the command (button) that starts the wizard, to point it to your locally deployed app.
    Or you can (manually) modify the MANIFEST.MF and SAP-MANIFEST.MF files in result package (ear for WD), to change the "local" key-vendor and key-location values to [sap.com]. Then your application will replace standard one and will be used as default (no need to customize noth.).
    For example, we had a request to add "New UWL Task" button to Meeting detail iView (Collabotration). Another request was: automatically set the meeting Subject to UWL task name.  To do so, we had do decompile standard MeetingOverview functionality and ad another button "Create Task" to meeting detail page. Then this button was linked to our custom application. If you are interested, i could send you that WD UWL project, we've have prepared (to avoid steps 1-2).
    mz

  • How can I create a new task in IOS 7?

    Since upgrading to ios 7 I haven't found the right button for adding a new task (adding a reminder is reminder is clear). Does anyone have a clue

    Thanks, Just found out that the blank line of reminders the first line whereas the blank line is below the last task

  • (SE01) How to insert a New Task in a Request?

    Hello all,
    It was created a Customizing Request with 1 task by one Owner.
    I have, with My User, to insert a New Task inside Customizing Request.
    How to do that?
    Can I, with my user, insert a New Task in a Request that has another owner?
    Many Thanks,
    Barbara

    Dear Barbara,
    If you have sufficient rights, change the owner to your name and create a new task to this request (click right on the request --> Add User). Afterwards, set the owner back to the previos value.
    See also authority object S_CTS_ADMI.
    Kind regards,
    Dennis

  • Creating new task in DITA, how do I choose Strict or General?

    I'm using DITA 1.2 with FrameMaker 12.
    I've seen how I can create a new task with DITA > New DTIA File > New task... But the 1.2 DITA standard is supposed to support two types of task, strict or general. How can I specify that I want a general task rather than a strict one?
    Thanks,
    Archaeopteryx

    Hi Archaeopteryx...
    If you look in the structure app definitions (global), you'll see that there's a "generalTask" structure app. The app named "task" is strict, and the other is general. I've not tried it but I believe that you'd need to add the generalTask to the application mapping in options. When you do this it should show up in the New DITA File menu.
    You may not be able to use both task types in the same app mapping .. I don't know .. but since it's not included in the default mapping, you may run into trouble getting it working. But definitely give it a try and let us know!
    Maybe someone else who has done this will chime in with some useful info.
    Cheers,
    ...scott

  • Creating new task in inbox

    Hi,
    In EP, under the inbox screen there's a 'Tasks' tab where we can create a new Task by clicking the 'Create Task' button.
    My question is: Is there any FM or class/method that I can use to perform the same functionality to create that Task?. Thanks

    Thanks Again Mike.
    Yes I agree with you. Payloads can vary in time and per task type. I configured flex fields in BPM Workspace -> Administration tab, then I mapped these flex fields in Human Tasks. When I create a custom view, It's only available to select the my custom payload field (flex field) when I select the Task type. In my case the payload field is an Person Id that is available since the start of first business activity til the end of the process. I think that if I really need to display this person id as a column, independent of task type, because this id I have all the time. I really need to build a custom worklist client as described in http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm#BABIHDEF . Maybe this worklist sample (HelpDesk UI Sample) can make my development time smaller compared with total time to develop an entire worklist from scratch.

  • Is it possible to loop AI Voltage readings without creating a new task (NI-DAQmx)?

    I would like to repeatedly make n Analog readings in a program, however, I am unable to accomplish this without creating a new task each time... perhaps I'm doing something wrong.
    Here is my pseudo-code:
    DAQmxErrChk(DAQmxCreateTask("", &taskHandleAI));
    DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandleAI, ...));
    DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandleAI,...));
    Loop start
    DAQmxErrChk(DAQmxStartTask(*taskHandleAI));
    DAQmxErrChk(DAQmxWaitUntilTaskDone(*taskHandleAI, 0.001));
    DAQmxErrChk(DAQmxReadAnalogF64(*taskHandleAI, ...));
    DAQmxErrChk(DAQmxStopTask(*taskHandleAI));
    do_something();
    Loop end
    The first read seems to work fine, however, all subsequet reads gets the following error message:
    DAQmx Error: Measurements: Task specified is invalid or does not exist.
    Status Code: -200088
    Does anyone have a clue what is happening?

    Sorry... is it possible to move a post, or should I simply start another one?
    Also. I don't fully understand what you mean by moving start & stop outside of the loop... the 'do_something()' part parses the reading results that was just read...
    are you saying I should not run StartTask/StopTask for each iteration of the loop? 

  • Assign account from Service Request when creating a New Task

    When creating a new task from within a Service Request the SR # is defaulted we would also like to default the account associated with the SR on to the Task. How can you do this?

    This is not working in WF.
    Refer this thread
    Re: Contact record not pupulated when Task created using Workflow.

  • New task assigned to user from CurrentItem:UserField using Assign task action is assigned to different user.

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

  • New task record not getting created in BPM workspace.

    Hi,
    We have a BPM Process which has 2 roles. SKURequester and SKUChangeAnalyst.
    When we initiate the flow , it opens up a screen and we populate data and click "SUBMIT".
    It goes to ChangeAnalyst for approval.
    It is working fine in Development Env.We could see a new task created for ChangeAnalyst once the requester SUBMIT's his task.
    But in Test env, Once the requester submit's his task .It's not creating a task row for ChangeAnalyst in BPM workspace.
    We verified the roles assigned to the user.Everything is same.
    Repeatedly seeing the following error in LOGS.
    Please help.
    [2013-01-10T08:14:38.823-05:00] [soa_server1_1] [TRACE] [] [] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: mudumbs1] [ecid: 0000Jk^aH_F9lZX_xt1FiW1GvUks000E9Q,0] [SRC_CLASS: oracle.bpel.services.workflow.client.config.ClientConfigurationUtil] [APP: OracleBPMWorkspace] [dcid: 8c22b87477b0f4ec:7ad8260b:13c21624156:-7ffd-000000000001a629] [SRC_METHOD: getClientConfiguration] WorkflowServiceClientContext: Cannot find client configuration file: wf_client_config.xml
    [2013-01-10T08:14:41.684-05:00] [soa_server1_1] [NOTIFICATION] [] [oracle.soa.adapter] [tid: orabpel.engine.pool-9.thread-15] [userId: mudumbs1] [ecid: 0000Jk^_u3x9lZX_xt1FiW1GvUks000E80,0:1054:100000592] [APP: soa-infra] [composite_name: SKUManagement] [component_name: CreateRequest] [component_instance_id: 23520007] [dcid: 8c22b87477b0f4ec:7ad8260b:13c21624156:-7ffd-000000000001a625] [composite_instance_id: 24141524] Database Adapter SKUManagement:Get_Site [ Get_Site_ptt::Get_SiteSelect(Get_SiteSelect_inputParameters,XxskuWizardResultsCollection) ] <oracle.tip.adapter.db.DBAdapterConstants getUniqueProcessIdentifier> Unique process identifier will be SKUManagement_default_SKUManagement_2_7_soa_1f700a1d_07c4_41ed_b74a_795a88fdc1c0_Get_Site[[
    [2013-01-10T08:14:41.860-05:00] [soa_server1_1] [NOTIFICATION] [] [oracle.soa.adapter] [tid: orabpel.engine.pool-9.thread-15] [userId: mudumbs1] [ecid: 0000Jk^_u3x9lZX_xt1FiW1GvUks000E80,0:1054:100000592] [APP: soa-infra] [composite_name: SKUManagement] [component_name: CreateRequest] [component_instance_id: 23520007] [dcid: 8c22b87477b0f4ec:7ad8260b:13c21624156:-7ffd-000000000001a625] [composite_instance_id: 24141524] Database Adapter SKUManagement:Get_Site [ Get_Site_ptt::Get_SiteSelect(Get_SiteSelect_inputParameters,XxskuWizardResultsCollection) ] <oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> Initializing toplink project for use by the database adapter.[[
    [2013-01-10T08:14:42.496-05:00] [soa_server1_1] [ERROR] [] [oracle.soa.bpmn.engine] [tid: orabpel.engine.pool-9.thread-15] [userId: mudumbs1] [ecid: 0000Jk^_u3x9lZX_xt1FiW1GvUks000E80,0:1054:100000592] [APP: soa-infra] [composite_name: SKUManagement] [component_name: CreateRequest] [component_instance_id: 23520007] [dcid: 8c22b87477b0f4ec:7ad8260b:13c21624156:-7ffd-000000000001a625] [composite_instance_id: 24141524] <CubeEngine::handleWorkItem> This was an internal error. The flow was not generated correctly by the BPMN compiler. Root cause : null
    [2013-01-10T08:14:42.497-05:00] [soa_server1_1] [ERROR] [] [oracle.soa.bpmn.system] [tid: orabpel.engine.pool-9.thread-15] [userId: mudumbs1] [ecid: 0000Jk^_u3x9lZX_xt1FiW1GvUks000E80,0:1054:100000592] [APP: soa-infra] [dcid: 8c22b87477b0f4ec:7ad8260b:13c21624156:-7ffd-000000000001a625] <BaseCubeSessionBean::logError > *Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.[[*
    an unhandled exception has been thrown in the Collaxa Cube systemr; exception reported is: "java.security.PrivilegedActionException: ORABPEL-02118
    Variant not found.
    The variable "ReRequesterUserTask_activity12_out" is not declared in the current scope. All variables must be declared in the scope before being accessed.
    This was an internal error. The flow was not generated correctly by the BPMN compiler.
    Contact Oracle Support Services. Provide the error message, the composite source, and the exception stack trace in the log files (with the logging level set to debug mode).
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.security.Security.runAs(Security.java:61)
         at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48)
         at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52)
         at com.collaxa.cube.engine.CubeEngine._performActionAsSubject(CubeEngine.java:5423)
         at com.collaxa.cube.engine.CubeEngine._performCallbackPerformer(CubeEngine.java:5365)
         at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1249)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:636)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:1027)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.java:392)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy243.handleCallback(Unknown Source)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDeliveryLocalBeanImpl.handleCallback(BPMNDeliveryBean_of8dk6_ICubeDeliveryLocalBeanImpl.java:66)
         at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessageHandler.handle(CallbackDeliveryMessageHandler.java:47)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:82)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: ORABPEL-02118

    Hi Juhi,
    Go to transaction RZ20 and check out if the corresponding BAPI is executed. And also check the traces
    Regards,
    Kalyan

Maybe you are looking for

  • Bt free printer and digital picture frame offer

    has anyone recieved the free printer and digital photoframe offer when you signed up to bt vision package yet i signed up to a package but as of yet have recieved no free printer or photo frame a few of my friends signed up on the same strength of fr

  • Changing Folder/File Permission Parameter

    Good morning. I am trying to change some setting in a VIDEO_TS folder, but all of the files are "Read Only". Even When I go to "Get Info" there doesn't seem to be a way to change permission. What am I missing? How can I change the permission paramete

  • Why is the disc drive so fussy?

    I have been using a Macbook pro with Mac OSx Lion for two years. It has always been fussy and ejects half the discs I want to play. But now  I am wanting to record CDs , and it just  ejects the  discs midway througn.  Any suggestions, please ? This i

  • Adobe reader - apparently no alternative

    On the Canada Department of Fisheries and Oceans web site the following pdf is available: http://www.dfo-mpo.gc.ca/pnw-ppe/rfcpp- - 15-eng.pdf Can anyone who is not using the Adobe reader open this file? I see: Please wait...If this message is not ev

  • Device software not working

    BB device software not working on windows 7 please help me , i installed last version 7.0,1