Workitem processing at Modelled branch not working.

Hello,
i have created a step ( activity ), in which the latest end is given as 'Workitem item creation' and time is 1 Minute and its modelled to a outcome 'DEADLINE' and the step is activated for processing obselete in Outcomes tab.
In modelled outcome branch (DEADLINE), i have given a step Process control, where i set the main step as 'Set work item to Obselete' .
In the Processing obselete branch, I have created a new step( activity) . It is going through this new activity step and i am getting the workitem in my inbox. When i approve the workitem through my bussiness work place the workflow is going to the COMPLETED stage.
But at the same tme when i try to approve the work item through SWIA , it is going to the next step in the workflow. Kindly let me know why this is happening. i want the system to continue the flow not to set the status to COMPLETED when i approve from bussineess wokrplace.
Thanks,
Neslin.

It is the same workitem id at SBWP and SWIA. 
You need to put they same approval step in deadline branch. This step should be similar to the subsequent step that occurs after approving maind workitem.
Is this mean i need to add ALL the steps in the deadline branch similar to the subsequent steps that occurs after the main workitem?.
Thanks for the clarification.
Thanks,
Neslin.

Similar Messages

  • New Applications model DOES NOT work with StandAlone OSD media

    If you are able to create StandAlone OSD media, the new Applications model DOES NOT work with it.
    - The creation of the media will be successful
    - The application installation itself will be successful
    Yet after the application is installed, it shows the correct process it needs to complete based on the return code in AppEnforce log, but does not process that information back to the the TS Manager so it appears to attempt to download a policy which fails
    causing the task sequence to error out..
    Thanks,
    Squirre1

    It is very similar to this description:
    http://madluka.wordpress.com/2012/05/15/error-0x8000405-when-installing-applications-to-a-workgroup-system-during-build-and-capture-task-sequence/
    It is using the application model, since it is not attached to the domain it is on a workgroup. But it is on standalone media and not during a build and capture sequence, it is during an OSD. But alot of the same puzzle pieces fit. Basically pointing to
    the new applications model not working during standalone OSD when the MP is not available. i would say that not enough information is getting encapsulated into the Application when exported onto the StandAlone media.

  • The built-in mic in g50 122ca laptop model is not working. please help me out.

    the built-in mic in g50 122ca laptop model is not working. please help me out. OS: Windows Vista (32-bit)

    here is a sample code .
    so far you procedure looks good but
    i bet you have to specify the name of report , instead of 'filename'.
    see this
    Plist_id := GET_PARAMETER_LIST('P_name');
    IF NOT ID_NULL(Plist_id) THEN
    DESTROY_PARAMETER_LIST(Plist_id);
    END IF;
    Plist_id := CREATE_PARAMETER_LIST('P_name');
    ADD_PARAMETER( Plist_id, 'P_Receive_date', TEXT_PARAMETER, TO_CHAR(Receive_date,'mm/dd/yyyy'));
    ADD_PARAMETER( Plist_id, 'P_Hearing_date', TEXT_PARAMETER, TO_CHAR(Hearing_date,'mm/dd/yyyy'));
    ADD_PARAMETER( Plist_id, 'P_Hearing_time', TEXT_PARAMETER, TO_CHAR(Hearing_time,'mm/dd/yyyy'));
    ADD_PARAMETER( Plist_id, 'P_Issue_date', TEXT_PARAMETER, TO_CHAR(Issue_date,'mm/dd/yyyy'));
    ADD_PARAMETER( Plist_id, 'P_Workshop_date', TEXT_PARAMETER, TO_CHAR(Workshop_date,'mm/dd/yyyy'));
    -- RUN_PRODCT(REPORTS,'..\Reports\Pro_License',SYNCHRONOUS, RUNTIME, FILESYSTEM, Plist_id, NULL);
    -- here Pro_License is the name of report.
    did you tried to see if the parameter passed using a message ?
    try
    message('parameter name'); pause; write this before "run_report".

  • Confirmation process in SRM does not work whenever there is a discrepancy

    Hello,
    we are on SRM 5.0 version with classic scenario(follow on documents in backed system - ECC 5.0). to procure maintainence service user cretes a shopping cart by selecting describe requirements method and UOM at times in incorrectly asssigned as EA so upon shopping cart approval a follow on ducument (purchase requistion) is created in ECC  as per config set up(in SRM). Buyer while coverting this purchase requisition to PO rectifies this erroe and chages the UOM of meausre to Hr and send a PO to vendor.
    we are not bale to use confirmation feature in SRM to perform receipt of this service. is this how system works? any configration or a BADI needs to be usd to allow to perform confirmation in SRM even tough there is discrepancy in shopping cart UOM and Purcahse requsition UOM.
    when thre is change in UOM in ECC that Purchase
    *Confirmation process in SRM does not work whenever there is a discrepancy (i.e. different UM )between Shoping cart and Purchase Requisition related to that Shoping cart.*
    we donot use serive option in SRM and donnot MM service module in ECC.
    any help on this will be much appreciated.
    Thanks,
    sairam

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Branch not working

    Hi
    I have a button, a process and a branch.
    The button is assigned to the process and the branch and it runs the process but not the branch.
    does anyone have any idea why that might be?
    Thanks in advance

    what do you mean it was stopping at that message? Is the success message showing after the process?
    The checkbox just determines if the success message is displayed after branching - and since its appearing, seems like the branch is working, right?

  • I want to know, why the update process of firefox is not work correctly. Because of i begin update that is not work for along time(Connecting to the update server). So why should i do this problem. Please help me.

    Update process is not work

    See:
    * [[Software Update Failed]]
    * http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the updates and updates\0 folder.<br />
    You may need to delete active-update.xml and updates.xml as well if present.
    C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    (%LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox)

  • Deadline Branch not working

    Hi All,
    I configured  a simple BPM scenario with a Block step with 3 braches namely
    1. Normal Branch(one receive step with in infinite loop step).
    2. dead line branch with 1 min timeout. within this a control step to throw exception
    3. Exception branch with no Action(no steps inside this branch)
    And Obviously there is a send step outside the block (For File system).
    I am not using any mapping case or even a container operation for collecting message.
    My intention is only to understand deadline branch.
    I am sending data from HTTPClient. The message comes to BPM. Ideally after 1 min.deadline should get executed (the infine loop should break) and I should see a response in the File System.
    But this is not happening. So I followed some previous threads in Forum and I found a solution(not automatic) to make this scenario working.
    The link : [Deadline monitoring not working;
    In this thread I followed >> Ran the program RSWWDHEX in foreground
    when I execute the above program in SE38 I am seeing a status message "'1' entries have been edited".
    And Deadline monitor gets executed and I am getting response to my file system.
    But this is not the solution I am looking for.
    How can I make my workflow(deadline branch) automatic.
    Please help me out.
    thanks,
    avis

    Hi Patrick,
    The BPM is not at all in error state. As I mentioned earlier when I am execting the report (>> Ran the program RSWWDHEX in foreground) I am able to get the ouput. I also followed SAP notes mentioned but they are not useful in my case.
    Any other Ideas?
    Hi Christophe,
    As I said I am following standard pattern expect container operation (for appending messages as it is in infinite loop.).
    So every time the message will be over written and when the loop breaks I will get last over written message which container variable hold.(Abstract interface for receive step).
    So there is no container operation.
    Thanks,
    Avis

  • Process Data Creator ID not working

    Hi All (and Paul)
    I want to send an email to the process creator when a request has been approved. The best way to do this, it seems, is to use the "EmailService - Send with Document" activity. In the to field, I do not have the option of process creator, so I need to find that value and insert. I did the following:
    1) used SetValue activity to assign /process_data/creator_id to a variable called strID
    2) used UserManagerLookupService to query for user with strID in Universal ID filter box and assign result-User to a variable called creatorUser.
    3) used SetValue activity to assign /process_data/creatorUser/object/@email to a variable called creatorEmail
    4) used EmailService activity to send email to creatorEmail.
    I recorded and played back my process after attempting and it successfully retrieves a universal ID from the creator_id variable, but the UserManagerLookupService returns null users. I have tried with a couple different end users submitting the form and it always comes up null. Is there something wrong wit creator_id?
    Thanks

    Hi Jasmin,
    I do in fact do assign it to a variable (stringUserID) and then assign it to the "Find User" service operation Universal ID in the filter. It fails there too.
    Paul, I have not checked the AWS_Assigned_ID in the data stream. I do see a valid GUID assigned to stringUserID from the creator_ID. So, I guess I need to amend the title of this topic to "UserManagerLookupService.Find User not working".
    In fact, I use this same activity in another process, a custom render process, that works just fine. I looked at the GUID for both processes during playback and they are identical. It works fine in the custom render. In this other process, I see an error "Variable: null not found". When I expand the details, I see "com.adobe.workflow.template.document.VariabeNotFoundException: Variable: null not found".
    Am I missing something?

  • Process order settlement Ko88 not working.

    Hello Sapients,
    i am getting a message:"There are no accrued amounts; settlement is not possible."
    Following are the steps i cariried.
    1.) created a Process order CR01
    2.) did goods issue to the process order using MIGO_GI
    3.) when i run KKAX I am able to the costs in WIP.
    4.) but when i execute the ko88 for the particular process order systme is not settling any but instead giving me a message: "There are no accrued amounts; settlement is not possible."
    5.) Could you please advise if I am missing any thing.
    Thanks and Regards
    Ravi

    Hi Ravi,
    Please, check if you have run the settlement already for period that you wants to do the settle by path  KO88 -> goto -> previous settlement or by  extras -> activate flow trace at Ko88 to analysis the problem.
    Please, also verify the SAP note 179533. This note has some informations regarding the problem.
    Regards,
    Paulo

  • Cancelling Creative Cloud -- suggested process in documents does not work

    I would like to cancel my creative cloud subscription. The instructions here do not work https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html In my account it says I only have a free subscription so I have nothing to cancel. But I am actually getting charged every month. This is extremely frustrating! I want to talk to a human at Adobe to get this sorted but there seems to be no way to make phone calls anymore. -Sarah

    That can be an unauthorized charge, please personally message the following details to investigate further.
    1. Last 4 digit of Credit Card
    2. Type of Card: Visa/Master Card/ Amex
    3. Date of Charge
    4 Amount charged
    Regards
    Rajshree

  • OSB 10gR3 - Process WS-Security flag not working with PasswordDigest

    Hi,
    By Oracle documentation when you set the "process ws-security header" in security section of a proxy service, the proxy service act as an active intermediary and consume the ws-security header received in inbound messages. This feature works fine when you call the proxy service using WS-Security Username Token Profile PasswordText, but when you send Username Token with PasswordDigest I got the following error: +"weblogic.xml.crypto.wss.WSSecurityException: Unable to validate identity assertions"+
    I am using SoapUi to call the proxy with passwordDigest, WSS-Password Type option set to PasswordDigest.
    Proxy configured with:
    General tab -> WSDL based proxy service, this wsdl doesn't have ws-policy definitions inside.
    Transport tab -> Get all headers = Yes
    HTTP Transport tab -> HTTPS Required = No / Authentication = Basic
    Operation tab -> Enforce WS-I Compliance = not checked / Selection Algorithm = SOAP Body Type
    Message Content tab -> default settings
    Policy -> Added Auth.xml(predefined) policy to request policies.
    Security tab -> Process WS-Security header = Yes / Custom Authentication settings = none
    Error --->
    +<01/12/2009 09h34min55s BRST> <Error> <OSB Security> <BEA-387022> <An error ocurred during web service security inbound request processing [error-code: Fault, message-id: 6198860737666014185--de42214.12549f82d66.-7fdb, proxy: AlphaTests/MyProxy/Proxy/MyLogProxy, operation: null]+
    --- Error message:
    +<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurity</faultcode>*<faultstring>Unable to validate identity assertions.</faultstring>*</env:Fault></env:Body></env:Envelope>+
    weblogic.xml.crypto.wss.WSSecurityException: Unable to validate identity assertions.
    +     at weblogic.wsee.security.wss.SecurityPolicyValidator.processIdentity(SecurityPolicyValidator.java:133)+
    +     at weblogic.wsee.security.wss.SecurityPolicyValidator.processInbound(SecurityPolicyValidator.java:77)+
    +     at weblogic.wsee.security.WssServerPolicyHandler.processInbound(WssServerPolicyHandler.java:54)+
    +     at weblogic.wsee.security.WssServerPolicyHandler.processRequest(WssServerPolicyHandler.java:30)+
    +     at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)+
    +     at com.bea.wli.sb.security.wss.WssInboundHandler.processRequest(WssInboundHandler.java:155)+
    +     at com.bea.wli.sb.security.wss.WssHandlerImpl.doInboundRequest(WssHandlerImpl.java:201)+
    +     at com.bea.wli.sb.context.BindingLayerImpl.addRequest(BindingLayerImpl.java:257)+
    +     at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:66)+
    +     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:508)+
    +     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:506)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)+
    +     at weblogic.security.service.SecurityManager.runAs(Unknown Source)+
    +     at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)+
    +     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:505)+
    +     at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:371)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper$1.run(HttpTransportServlet.java:279)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper$1.run(HttpTransportServlet.java:277)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)+
    +     at weblogic.security.service.SecurityManager.runAs(Unknown Source)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper.securedInvoke(HttpTransportServlet.java:276)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper.service(HttpTransportServlet.java:237)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet.service(HttpTransportServlet.java:133)+
    +     at weblogic.servlet.FutureResponseServlet.service(FutureResponseServlet.java:24)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)+
    +     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
    +     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)+
    +     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)+
    +     at weblogic.security.service.SecurityManager.runAs(Unknown Source)+
    +     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)+
    +     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)+
    +     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)+
    +     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)+
    +     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+

    Eduardo,
    Yes, but the flag "Process WS-Security header" needs to be set to 'No' and I included a delete node to remove the wsse:Security element from header. Attaching Auth.xml predefined policy to my request operation, causes OSB to include the policy directive in my WSDL, but the PasswordText(see below).
    In Oracle security guide we have steps to configure PasswordDigest in the Oracle Service Bus Security Configuration using the WLS Console http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/security/model.html#wp1062542
    My doubt is: Is this a bug? "Process WS-Security header" flag is supposed to work with PasswordDigest?
    My WSDL with WS-Policy statements after Auth.xml policy was configured.
    <?xml version="1.0" encoding="UTF-8"?>
    <s2:definitions targetNamespace="http://alpha.tests.org" xmlns:s0="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:s1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:s2="http://schemas.xmlsoap.org/wsdl/" xmlns:s3="http://alpha.tests.org" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
    <s0:Policy s1:Id="encrypt-custom-body-element-and-username-token">
    <wssp:Identity xmlns:wssp="http://www.bea.com/wls90/security/policy">
    <wssp:SupportedTokens>
    <wssp:SecurityToken TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken">
    <wssp:UsePassword Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"/>
    </wssp:SecurityToken>
    </wssp:SupportedTokens>
    </wssp:Identity>
    </s0:Policy>
    <wsp:UsingPolicy s2:Required="true"/>
    <s2:types>
    <xsd:schema elementFormDefault="qualified" targetNamespace="http://alpha.tests.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://alpha.tests.org" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://alpha.tests.org" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="EchoRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="send" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="EchoResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="response" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </s2:types>
    <s2:message name="echoRequest">
    <s2:part element="s3:EchoRequest" name="echoPartReq"/>
    </s2:message>
    <s2:message name="echoResponse">
    <s2:part element="s3:EchoResponse" name="echoPartResp"/>
    </s2:message>
    <s2:portType name="MyAlphaPort">
    <s2:operation name="echo">
    <s2:input message="s3:echoRequest" name="echoRequest"/>
    <s2:output message="s3:echoResponse" name="echoResponse"/>
    </s2:operation>
    </s2:portType>
    <s2:binding name="MyAlphaBinding" type="s3:MyAlphaPort">
    <s4:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <s2:operation name="echo">
    <s2:input name="echoRequest">
    <s4:body use="literal"/>
    <wsp:Policy>
    <wsp:PolicyReference URI="#encrypt-custom-body-element-and-username-token"/>
    </wsp:Policy>
    </s2:input>
    <s2:output name="echoResponse">
    <s4:body use="literal"/>
    </s2:output>
    </s2:operation>
    </s2:binding>
    <s2:service name="MyAlphaBindingQSService">
    <s2:port binding="s3:MyAlphaBinding" name="MyAlphaBindingQSPort">
    <s4:address location="http://CLXSP0272:7001/MyAlphaService"/>
    </s2:port>
    </s2:service>
    </s2:definitions>

  • SQL model clause not working when dimensioned on a char or a varchar2 colum

    Hi ,
    I tried to execute the below mentioned query and this returns me columns from monday to sunday values as null.
    select weekno
    , empno
    , mon
    , tue
    , wed
    , thu
    , fri
    , sat
    , sun
    from worked_hours
    model
    return updated rows
    partition by (weekno, empno)
    dimension by ( day )
    measures ( hours,lpad(' ',3) mon,lpad(' ',3) tue, lpad(' ',3) wed,lpad(' ',3) thu,lpad(' ',3) fri,lpad(' ',3) sat,lpad(' ',3) sun)
    RULES upsert
    mon [0] = hours [1]
    , tue [0] = hours [2]
    , wed [0] = hours [3]
    , thu [0] = hours [4]
    , fri [0] = hours [5]
    , sat [0] = hours [6]
    , sun [0] = hours [7]
    In the initial example day is a number and when executed the above query it works. The result set is as below :-
    WEEKNO EMPNO MON TUE WED THU FRI SAT SUN
    1 1210 8 7.5 8.5 4.5 8
    1 1215 2 7.5 8 7.5 8
    When the data type of day is changed to char and populated with the right values then the result set looks as below :-
    WEEKNO EMPNO MON TUE WED THU FRI SAT SUN
    1 1210
    1 1215
    Can anyone help me resolve this ?
    --XXXXX                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    user10723455 wrote:
    Hi ,
    When the data type of day is changed to char and populated with the right values then the result set looks as below :- Can not reproduce on 10.2.0.4.0:
    SQL> select * from v$version
      2  /
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> create table worked_hours_char as select * from worked_hours where 1 = 2
      2  /
    Table created.
    SQL> alter table worked_hours_char modify day char(10)
      2  /
    Table altered.
    SQL> insert into worked_hours_char select * from worked_hours
      2  /
    14 rows created.
    SQL> commit
      2  /
    Commit complete.
    SQL> select weekno
      2  , empno
      3  , mon
      4  , tue
      5  , wed
      6  , thu
      7  , fri
      8  , sat
      9  , sun
    10  from worked_hours
    11  model
    12  return updated rows
    13  partition by (weekno, empno)
    14  dimension by ( day )
    15  measures ( hours,lpad(' ',3) mon,lpad(' ',3) tue, lpad(' ',3) wed,lpad(' ',3) thu,lpad(' ',3) fri,lpad(' ',3) sat,lpad(' ',3) su
    n)
    16  RULES upsert
    17  (
    18  mon [0] = hours [1]
    19  , tue [0] = hours [2]
    20  , wed [0] = hours [3]
    21  , thu [0] = hours [4]
    22  , fri [0] = hours [5]
    23  , sat [0] = hours [6]
    24  , sun [0] = hours [7]
    25  )
    26  /
        WEEKNO      EMPNO MON TUE WED THU FRI SAT SUN
             1       1210 8   7.5 8.5 4.5 8
             1       1215 2   7.5 8   7.5 8
    SQL> select weekno
      2  , empno
      3  , mon
      4  , tue
      5  , wed
      6  , thu
      7  , fri
      8  , sat
      9  , sun
    10  from worked_hours_char
    11  model
    12  return updated rows
    13  partition by (weekno, empno)
    14  dimension by ( day )
    15  measures ( hours,lpad(' ',3) mon,lpad(' ',3) tue, lpad(' ',3) wed,lpad(' ',3) thu,lpad(' ',3) fri,lpad(' ',3) sat,lpad(' ',3) su
    n)
    16  RULES upsert
    17  (
    18  mon [0] = hours [1]
    19  , tue [0] = hours [2]
    20  , wed [0] = hours [3]
    21  , thu [0] = hours [4]
    22  , fri [0] = hours [5]
    23  , sat [0] = hours [6]
    24  , sun [0] = hours [7]
    25  )
    26  /
        WEEKNO      EMPNO MON TUE WED THU FRI SAT SUN
             1       1210 8   7.5 8.5 4.5 8
             1       1215 2   7.5 8   7.5 8
    SQL> SY.

  • XPath processing with namespaces does not work. Please review my code..

    Dear all,
    I am working on with the IMS Group's Enterprise XML standard (http://www.imsproject.org/enterprise/) and need to retrieve member information using XPath.
    After significant fault finding, I have narrowed down the problem to the XML file containing multiple namespaces in the root element. I have checked out some forum postings here and on Google (programmer's best friend) for possible solutions... namely the implementation of the my own NamespaceContext object. I have implemented and yet I am still not able to retrieve the data I want.
    Could someone advise where I am going wrong?
    When I remove the namespaces from the root element I can find out the number of member elements in the XML (just for testing atm). I could write a regular expression to remove the namespaces from my XML, but that's just dodgy..
    Here's a sample XML:
    <enterprise xmlns="http://www.imsproject.org/xsd/imsep_rootv1p01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:webct="http://www.webct.com/IMS">
    <properties>...</properties>
    <group>...</group>
    <membership>
    <member>...</member>
    </membership>
    </enterprise>
    My implementation of the a NamespaceContext object:
    public class IMSProjectNamespaceContext implements NamespaceContext {
    public String getNamespaceURI(String prefix) {       
    if(prefix == null) throw new NullPointerException("Null prefix");
    else if("xsi".equals(prefix)) return "http://www.w3.org/2001/XMLSchema-instance";
    else if("webct".equals(prefix)) return "http://www.webct.com/IMS";
    else if("xml".equals(prefix)) return XMLConstants.XML_NS_URI;
    return XMLConstants.NULL_NS_URI;
    }// end of overriding getNamespaceURI method
    // This method is not necessary for XPath processing
    public String getPrefix(String uri) {
    throw new UnsupportedOperationException();
    }// end of overriding getPrefix method
    // This method is not necessary for XPath processing
    public java.util.Iterator getPrefixes(String uri) {
    throw new UnsupportedOperationException();
    }// end of overriding getPrefixes method
    }// end of IMSProjectNamespaceContext class
    My method attempting to use XPath... but not successful (it should print out the number of member elements if XPath works correctly with my XML file, but only prints out 0 each time):
    private void getSectionMembers(String dataXML) throws Exception {
    try {       
    InputSource inputSource = new InputSource(new StringReader(dataXML));
    XPath xPath = XPathFactory.newInstance().newXPath();
    xPath.setNamespaceContext(new IMSProjectNamespaceContext());
    XPathExpression xPathExpression = xPath.compile("/enterprise/membership/member");
    NodeList nodes = (NodeList)xPathExpression.evaluate(inputSource, XPathConstants.NODESET);
    System.out.println(nodes.getLength()); // Debugging
    } catch(Exception ex) {
    ex.printStackTrace();
    throw new Exception("XPath Querying Failed.");
    }// end of xPathQuery method

    Dear dvohra09,
    Thank you for your quick reply. Much appreciated. I have implemented a NamespaceContext object that is able to set more than one prefix for a URI as you suggested.
    It works when I remove the first namespace that is generated in the IMSProject Enterprise XML:
    xmlns="http://www.imsproject.org/xsd/imsep_rootv1p01"
    When I hack the XML and set a prefix for this ('default') namespace it works... For example:
    xmlns:ims="http://www.imsproject.org/xsd/imsep_rootv1p01"
    Is the NamespaceContext class supposed to handle for so called "default" namespaces (without needing to touch the XML)?
    My method is performing the XPath query is below:
    private void getSectionMembers(String dataXML) throws Exception {
    try {       
    InputSource inputSource = new InputSource(new StringReader(dataXML));
    IMSProjectNamespaceContext imsproject = new IMSProjectNamespaceContext();
    imsproject.setNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
    imsproject.setNamespace("webct", "http://www.webct.com/IMS");
    imsproject.setNamespace("ims", "http://www.imsproject.org/xsd/imsep_rootv1p01lme");
    XPath xPath = XPathFactory.newInstance().newXPath();
    xPath.setNamespaceContext(imsproject);
    XPathExpression xPathExpression = xPath.compile("//ims:enterprise/@xmlns/text()");
    NodeList nodes = (NodeList)xPathExpression.evaluate(inputSource, XPathConstants.NODESET);
    System.out.println(nodes.getLength()); // Debugging
    System.out.println(nodes.item(0).getNodeValue()); // Debugging
    } catch(Exception ex) {
    ex.printStackTrace();
    throw new Exception("XPath Querying Failed.");
    }// end of xPathQuery method
    Regards
    Zig

  • Webcam model PD0080 not working in WinXP

    I have Video Blaster Webcam Go Model PD0080 part #30PD008000000 camera which I am trying to get to work on a new computer using WinXP. Unfortunately I don't have any installation CD's or user guides. I was able to find and download the documentation and the driver to work with WinXP. The computer recognizes the camera but I can not get images downloaded into the computer.
    Looks like I might need the Webcam Go Control software which I don't have and don't see where to download it from.
    What do I need to do to get this camera to work under WinXP?
    Thanks,
    Nathan

    Nathan,
    You can get the software you want at Creative Asia download webpage.
    Jason

  • Model Spy not working

    I'm following the directions on http://www.vogella.com/tutorials/Eclipse4LiveModelEditor/article.html,
    but when I press Shift+Alt+F9 nothing happens. I tried it on a very simple E4 application and on our 'real application', but nothing gives. Two questions: (1) are there any screen shots availabe of what I should see (2) are there any alternative ways of showing the model if the key combination above doesn't work ?

    Windows 7 SP1
    MARS 4.5.0
    Build id: 20150621-1200
    Eclipse 4 - Model Spy (Incubation) 0.1.0.v20150714-0417 org.eclipse.e4.tools.model.spy.feature.feature.group Eclipse.org
    One month later I am was reading a different article (http://eclipsesource.com/blogs/2012/05/10/eclipse-4-final-sprint-part-1-the-e4-application-model/) by Jonas Helming but this issue is still the same. The Shift+Alt+F9 does nothing. I checked the hot key mappings and found the Shift+Alt+F9 combo listed as follows.
    Name: Open a spy ()
    Description: Open a spy in the E4 spy window
    Binding: Open a spy in the E4 spy window
    When: In Dialogs and Windows
    Conflicts: (none listed)
    Question 1) Being new to the Spy project, is this the correct forum? My search on the forums with the strings "e4ap, Eclipse4, Model Spy" only got this thread as a hit.
    Question 2) Is there a bug report on this?
    Question 3) Is the statementQuote: "You should not include the model spy in your exported application as it is only a test and debug tool. It is not intended to be used by end users." correct?

Maybe you are looking for

  • CS5 Can't See Filters

    I just had to reinstall Photoshop CS5. Now I can't load (old) Kodak filters. CS5 sees the Kodak folder, but the filters don't show up in the list. The filters are: 1. DIGITAL GEM Airbrush Professional Plug-In 2.1 2. DIGITAL ROC Professional Plug-In 2

  • CS5: Camera Raw Not Working

    Hello - I am currently using CS5, and when I purchased it, I was under the assumption that it uses the new Camera Raw 6 Plug-In. Does it come with this Plug-In built in? Or do I need to download it? I cannot find a download page for it (unless it's n

  • Page protection not work for smart form

    I want to my item data in the same page. ex: item no.  material   description   quantity              10   0000001  material CH  10                                   material EN                                   long text 1                           

  • Procedures

    Hi, All, Can a stored procedure be used as a function in a SQL? I knew procedure can return more than one values but function can only return one. I know how to use a function in a SQL, but don’t how to use a procedure in SQL (please give an example)

  • Dbms_utility or dbms_stats

    Hi All, Database : 9.2.0.6 OS : IBM AIX 5.2 we are planning to run dbms_utility.analyze_database('COMPUTE'); to analyze the tables and indexes. but in the below link its mentioned that some problem is there using dbms_utility. http://momendba.blogspo