Problem starting a workflow with a timed event.

Hi all,
I am trying to start a workflow with a timed event this way,
Start Date Expression: StringToDate("20:09", "HH:mm")
Reschedule: 1 day
I save the workflow at 20:07, but nothing happens at 20:09.
Any hints?
Thanks in advance.

Hi Thomas,
Wf-XML was implemented when XI wasn't even a glint in SAP's eye. The message arrives in the SAP Web AS and triggers a workflow directly (or responds to an incoming workflow request message).
Exception: prior to the 6.10 release of the Web AS the incoming messages are received in an ITS.
Best regards,
Alan

Similar Messages

  • Error in starting a workflow with a z event.

    I have implemented an event in an object which gets generated through PA30. But when the event gets generated the workflow does not get triggerred and instead an error msg comes in event trace ie.
    "Event EMPLOYEEI CHANGED for task WS90000048 not defined as start/end event"
    And the linkage gets deactivated.
    Can you please suggest what is the problem and the solution too.

    Try making some checks :
    Go to SWUD and - Task type : WS - Task:<your WF> and execute the step "Problem: Task not started". Here you'll find the declaration of the triggering event. Then execute the "Consistency check for tasks". If everything is green, it means we're on the right way.
    Regards,
        Gianluca

  • How to start a Workflow with a Dynpro action button.

    Hi @ all,
    i have the problem, that i want to start a workflow with a self-made dynpro.
    The dynpro consist the following information who had to be transported in the workflow.
    Stacknr.
    User
    Date
    Time
    and a tif data file
    Somebody have an idea how it works?
    i am very new in workflow. So if you want to help me than please with a step by step guide.
    Thanks a lot.
    Regards Phil

    Hi,
    Please go through the wiki. There are plenty of instructions. Also, this is commonly discussed topic, so try to search first. The key for your problem is that there are function modules to tirgger workflows (either directly or with an event).
    Regards,
    Karri

  • Problem while Integrating workflow with OID.

    Hi I have a problem with integrating workflow with OID.I must execute the wf_ldap.synch_all() but I couldn't find WF_LDAP package body in the database.There is only package specification.How I can restore the wf_ldap package.
    Thanks for help..

    The file WFLDAPB.pls should be used to recreate the package body for WF_LDAP (this file is in the wf/sql directory).

  • Problem starting an app with Siri via Bluetooth

    I want to use my iphone 5s without taking it out of my pocket in my car via my bluetooth Flexsmart X2.  I am able to use Siri and start a navigation with no problem.  The problem is when I try to start Slacker radio, it asks to type in my pin. 
    Is there anyway to get around this without disabling passcode?

    Try spraying random characters out to the screen whilst the user is typing in the password.
    (not my idea, I saw someone else do this)

  • Starting Participant Workflow WIth XOCP Message Sent From Application

    IS it possible to send and XOCP message ot the hub from an application (like a
    servlet) and then have that XOCP message received by a participant workflow?
    The error in the log looks like <XOCP-Hub> INFO: No recipient trading partner(s)
    found for message blah blah blah...
    I have 2 roles set up in Collaborate. One of them has no WLPI Workflow associated
    with it, the other does. That workflow is not specified as initiator and has conversation
    properties associated with it and a Business Message start node.

    My guess is that when running on Ubuntu you're picking up the Gnu version of JavaMail
    instead of the Sun version. If you enable session debugging, what version number does
    it print? Look for other jar files in your jre/lib/ext directory.

  • Problem linking business workflow with ad-hoc request

    Hi All,
    I have a problem in creating a subprocess from a business workflow in UWL.  Usually when you create a new ad-hoc request it will pop up an information saying that there is a subsequent process running.
    But if i create the ad-hoc approval request from an existing business workflow (r/3 workflow) it will not give you this confirmation.  Thus when i try to approve or reject it will give me an error message, because it can't find the parent task.
    Has anyone knows how to fix this? Are we missing some configuration here then the standard UWL configuration? Do we have to install collaboration feature to make this function work?  If yes, then how do we know if we have it in our portal, i mean how to look for it? because i'm continuing someone elses work so i don't know what has been installed.
    Thanks & Regards,
    Rizky

    Hi
    When "Advance routing" is used for Task assignment; the task service asserts the folllowing fact types : Task, PreviousOutcome and TaskAction to the rules engine. These facts gives all the reqd info about the task (like outcome of the participant, task stage .. etc)
    Now in the defined ruleset; we can have rules as per our requirement that can extract info from the asserted fact types and assign task to the required/next participant.
    Also note that we write the advance rules for exception cases only.
    For example; let's say all participants have 2 possible Outcomes [COMPLETE, RECHECK]. We have defined the ideal task routing flow as :
    Participant A -> Participant B -> Participant C. This is the flow when all participant selects "COMPLETE"
    Now suppose B selects outcome as "RECHECK" then the task shld move back to A. So for this case only we need to write a advance rule.
    Pls refer to the code sample at : http://download.oracle.com/technology/sample_code/hwf/workflow-106-IterativeDesign.zip
    Also dev guide : refer to section 28.3.7.2 http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_hwfmodel.htm#BABBFEJJ
    Thanks
    Edited by: Kania on May 19, 2010 2:41 AM

  • Starting a workflow with inbound Wf-XML

    Hi
    I read on help.sap.com that a workflow can be started when an inbound Wf-XML document arrives. Can anyone clarify where the XML actually arrives?
    Will the XML arrive at the integration layer (in our case SAP XI), and XI will have to trigger the workflow, or will the XML somehow arrive at the workflow? Can anyone clarify this?
    Any help is, as usual, greatly appreciated.
    Regards,
    Thomas
    Message was edited by: Thomas Kjelsrud

    Hi Thomas,
    Wf-XML was implemented when XI wasn't even a glint in SAP's eye. The message arrives in the SAP Web AS and triggers a workflow directly (or responds to an incoming workflow request message).
    Exception: prior to the 6.10 release of the Web AS the incoming messages are received in an ITS.
    Best regards,
    Alan

  • Problem starting SMS message with iphone5

    I have just got a new iPhone 5 (my first iPhone!), and seem to have an issue with messaging. I was doing some checks such as making calls, sending e-mails etc... And found that I can send iMessages to other apple products, however I cannot send a message to non apple phones. To make things more complicated I can reply to messages from other phones??? Could this be an iPhone issue, or must it be a carrier issue? My carrier is EE (orange).

    Did you check with EE about SMS service?
    Settings > Messages > Send as SMS: ON?
         Show Subject Field: OFF?

  • Timed Event Problem

    I've multiple WLI (2.1 sp1, running on WLS6.1 sp2)servers sharing the same database.
    I've a workflow containing a timed event, which starts every 5 minutes once that
    workflow is instantiated and stops when the workflow is done.
    If server 1 runs the workflow and creates instance 1 and before it finishes, server
    2 runs and creates instance 2, two timed events are registered. Probably the entry
    is made in the wli's TIMEDEVENT table. Problem is both timed events are executed
    for BOTH the servers i.e. timed part of instance 1 and instance 2 are executed on
    both the servers.
    Seems like servers are making timed event entries to the database and waiting
    on a topic. A thread is looking at timedevent table and at the scheduled time informing
    everybody listening on the topic irrexpective of who made the entry.
    Is there a way for running a timed event on only one of the WLI servers connected
    to it?
    Thanks,
    Tarkeshwar

    I am running the code exactly as it appears here, and it is slowing the computer down after about 5-10 minutes.  However, I have just realised that I am using the "TLF" type of text box - for some formatting reasons that I do not really remember right now.  When I changed it to the standard "dynamic" text box there is no drop in framerate.  Perhaps I need to use one of the TLF methods to update the text rather than just re-define it constantly.

  • Starting workflow with HTTP-Post

    Hello,
    like I wrote in Starting workflow with HTTP-Post I have a problem with starting a workflow with a http-post:
    I have an installation of SAP ERP 2005 SR2 IDES on Win2003 SR2 SP2 and want to start a simple workflow with an external application. Therefor I created an elementary test-workflow and set the general task flag so everybody is allowed to start it. So far everything work fine as I start it manually.
    Now I want to start the workflow by an external application over a HTTP-Post as described in
    http://help.sap.com/saphelp_47x200/helpdata/EN/54/de9e3887d6174fe10000009b38f842/content.htm
    I configured the webserver (Customizing Web-Server) as follows:
    Service: WebFlow (Intranet)
    Address: http://192.168.0.216:8000/
    Path: SAP/BC/WORKFLOW_XML/?
    and sent a post via perl to http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004
    <?xml version="1.0" ?>
    <WfMessage Version="1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request ResponseRequired="No">
    <Key>http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004</Key>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance.Request StartImmediately="true">
    <ObserverKey>http://192.168.0.224</ObserverKey>
    </CreateProcessInstance.Request>
    </WfMessageBody>
    </WfMessage>
    The Web-Server returns
    C:\FH\SAP\perl-scripte>perl http-post.pl
    HTTP/1.1 200 OK
    Server: SAP Web Application Server (1.0;700)
    Content-Length: 0
    Content-Type: text/plain
    Client-Date: Sun, 01 Jun 2008 11:00:24 GMT
    Client-Peer: 192.168.0.216:8000
    Client-Response-Num: 1
    but it seems that nothing happens.
    I also tried to post the XML via html-form-field with the same result.
    Did I forgot something essential?

    Hello Daniel
    It's 6 years after you posted your question, but I found your post very useful and thought it would be worth updating for future reference.
    I've just managed to trigger a workflow via http.
    URL :
    http://server.domain:8000/sap/bc/workflow_xml?sap-client=110
    Java :
    URL obj = new URL(url);
    URLConnection con = (URLConnection) obj.openConnection();
    String userpass = "username:password";
    String basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userpass.getBytes());
    con.setRequestProperty ("Authorization", basicAuth);
    con.setRequestProperty("Content-type", "text/xml");
    con.setDoOutput(true);
    DataOutputStream wr = new DataOutputStream(con.getOutputStream());
    wr.write( xml.getBytes("UTF-8") );
    wr.flush();
    wr.close();
    You can then read the response.
    I found that until I added the sap_client parameter I couldn't debug in CL_HTTP_WORKFLOW_XML->IF_HTTP_EXTENSION~HANDLE_REQUEST. Then I found that the content type has to be "text/xml".
    I set the xml variable (the data sent to ECC) to :
    <?xml version="1.0" ?>
    <WfMessage Version="SAP.1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request>
    <ResponseRequired>Yes</ResponseRequired>
    </Request>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <Operation>CreateProcessInstance</Operation>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <ContextData>
    <YOUR_CONTEXT_VARIABLE>x</YOUR_CONTEXT_VARIABLE>
    </ContextData>
    <StartImmediately>Yes</StartImmediately>
    </CreateProcessInstance>
    </WfMessageBody>
    </WfMessage>
    regards
    Steve

  • Timed Events in Tasks

    Hi,
    I am trying to create a situation where on receipt of an xml event a task is executed
    however if this task is not executed within a certain time then this is notified
    to another user.
    Hence I have a start which is connected to two tasks, one task being the task
    to be executed by the user and the other is a task with a Timed Event action.
    This timed event waits for 1 minute. The two tasks feed into an or gate which
    leads to another task which determines if a time out occurred or not.
    First question is this a sensible approach for time-outs/escalation procedures
    and secondly this crashes with a trace that has things like businessCalendar ejbs
    referenced. My understanding was that if I used the from action with not business
    minutes or business hours then busines calendar would not be invoked.
    Any advice greatly received
    Paul Clements
    PS Appended trace for your information.
    ####<04-Sep-01 16:33:58 BST> <Info> <EJB> <laptopkzapz> <myserver> <ExecuteThread:
    '9' for queue: 'default'> <wlpisystem> <71:0fe20c625849ce19> <010035> <EJB Exception
    during invocation from home: com.bea.wlpi.server.businesscalendar.BusinessCalendarBeanHomeImpl@19c55a
    and primary key: 1 threw exception: java.lang.NullPointerException>
    java.lang.NullPointerException
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarProcessor.addTimeMatrix(BusinessCalendarProcessor.java:133)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarEngine.getProcessor(BusinessCalendarEngine.java:213)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarBean.getProcessor(BusinessCalendarBean.java:194)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarBean_WebLogic_CMP_RDBMS.getProcessor(BusinessCalendarBean_WebLogic_CMP_RDBMS.java:268)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarBeanEOImpl.getProcessor(BusinessCalendarBeanEOImpl.java:270)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.getBusinessCalendarProcessor(WorkflowProcessorBean.java:360)
         at com.bea.wlpi.server.workflow.Timer.dateAdd(Timer.java:133)
         at com.bea.wlpi.evaluator.WLPIFunction.dateAdd(WLPIFunction.java:418)
         at com.bea.wlpi.evaluator.WLPIFunction.evaluate(WLPIFunction.java:123)
         at com.bea.wlpi.evaluator.Function.evaluate(Function.java:94)
         at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
         at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:251)
         at com.bea.wlpi.server.workflow.action.ActionTimedEvent.getScheduleTimestamp(ActionTimedEvent.java:207)
         at com.bea.wlpi.server.workflow.action.ActionTimedEvent.execute(ActionTimedEvent.java:120)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(WorkflowProcessorBean.java:1060)
         at com.bea.wlpi.server.workflow.Task.executeActions(Task.java:91)
         at com.bea.wlpi.server.workflow.Task.create(Task.java:100)
         at com.bea.wlpi.server.workflow.Workflow.instantiate(Workflow.java:587)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean$1.invoke(WorkflowProcessorBean.java:624)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.performWithErrorHandling(WorkflowProcessorBean.java:1005)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.instantiate(WorkflowProcessorBean.java:620)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBeanImpl.instantiate(WorkflowProcessorBeanImpl.java:289)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBeanEOImpl.instantiate(WorkflowProcessorBeanEOImpl.java:287)
         at com.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.java:121)
         at com.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.java:144)
         at com.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerBean.java:52)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.Kernel.execute(Kernel.java:250)
         at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
         at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
         at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ####<04-Sep-01 16:33:58 BST> <Error> <WLPI> <laptopkzapz> <myserver> <ExecuteThread:
    '9' for queue: 'default'> <wlpisystem> <74:0fe20c625849ce19> <000000> <<wlpirequest>
    <started>2001-09-04 16:33:57.851</started>
    <requestor>wlpisystem</requestor>
    <templateid>4002</templateid>
    <template-name>workflowFive</template-name>
    <templatedefinitionid>4002</templatedefinitionid>
    <instanceid>5002</instanceid>
    <actions>
    <error time="2001-09-04 16:33:58.592">NullPointerException: An error occurred
    during exception handler processing.
    null</error>
    </actions>
    <completed>2001-09-04 16:33:58.592</completed>
    </wlpirequest>
    >

    Sorted.
    Paul
    "Paul Clements" <[email protected]> wrote:
    >
    Hi,
    I am trying to create a situation where on receipt of an xml event a
    task is executed
    however if this task is not executed within a certain time then this
    is notified
    to another user.
    Hence I have a start which is connected to two tasks, one task being
    the task
    to be executed by the user and the other is a task with a Timed Event
    action.
    This timed event waits for 1 minute. The two tasks feed into an or
    gate which
    leads to another task which determines if a time out occurred or not.
    First question is this a sensible approach for time-outs/escalation procedures
    and secondly this crashes with a trace that has things like businessCalendar
    ejbs
    referenced. My understanding was that if I used the from action with
    not business
    minutes or business hours then busines calendar would not be invoked.
    Any advice greatly received
    Paul Clements
    PS Appended trace for your information.
    ####<04-Sep-01 16:33:58 BST> <Info> <EJB> <laptopkzapz> <myserver> <ExecuteThread:
    '9' for queue: 'default'> <wlpisystem> <71:0fe20c625849ce19> <010035>
    <EJB Exception
    during invocation from home: com.bea.wlpi.server.businesscalendar.BusinessCalendarBeanHomeImpl@19c55a
    and primary key: 1 threw exception: java.lang.NullPointerException>
    java.lang.NullPointerException
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarProcessor.addTimeMatrix(BusinessCalendarProcessor.java:133)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarEngine.getProcessor(BusinessCalendarEngine.java:213)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarBean.getProcessor(BusinessCalendarBean.java:194)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarBean_WebLogic_CMP_RDBMS.getProcessor(BusinessCalendarBean_WebLogic_CMP_RDBMS.java:268)
         at com.bea.wlpi.server.businesscalendar.BusinessCalendarBeanEOImpl.getProcessor(BusinessCalendarBeanEOImpl.java:270)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.getBusinessCalendarProcessor(WorkflowProcessorBean.java:360)
         at com.bea.wlpi.server.workflow.Timer.dateAdd(Timer.java:133)
         at com.bea.wlpi.evaluator.WLPIFunction.dateAdd(WLPIFunction.java:418)
         at com.bea.wlpi.evaluator.WLPIFunction.evaluate(WLPIFunction.java:123)
         at com.bea.wlpi.evaluator.Function.evaluate(Function.java:94)
         at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
         at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:251)
         at com.bea.wlpi.server.workflow.action.ActionTimedEvent.getScheduleTimestamp(ActionTimedEvent.java:207)
         at com.bea.wlpi.server.workflow.action.ActionTimedEvent.execute(ActionTimedEvent.java:120)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(WorkflowProcessorBean.java:1060)
         at com.bea.wlpi.server.workflow.Task.executeActions(Task.java:91)
         at com.bea.wlpi.server.workflow.Task.create(Task.java:100)
         at com.bea.wlpi.server.workflow.Workflow.instantiate(Workflow.java:587)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean$1.invoke(WorkflowProcessorBean.java:624)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.performWithErrorHandling(WorkflowProcessorBean.java:1005)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.instantiate(WorkflowProcessorBean.java:620)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBeanImpl.instantiate(WorkflowProcessorBeanImpl.java:289)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBeanEOImpl.instantiate(WorkflowProcessorBeanEOImpl.java:287)
         at com.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.java:121)
         at com.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.java:144)
         at com.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerBean.java:52)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.Kernel.execute(Kernel.java:250)
         at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
         at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
         at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ####<04-Sep-01 16:33:58 BST> <Error> <WLPI> <laptopkzapz> <myserver>
    <ExecuteThread:
    '9' for queue: 'default'> <wlpisystem> <74:0fe20c625849ce19> <000000>
    <<wlpirequest>
    <started>2001-09-04 16:33:57.851</started>
    <requestor>wlpisystem</requestor>
    <templateid>4002</templateid>
    <template-name>workflowFive</template-name>
    <templatedefinitionid>4002</templatedefinitionid>
    <instanceid>5002</instanceid>
    <actions>
    <error time="2001-09-04 16:33:58.592">NullPointerException: An error
    occurred
    during exception handler processing.
    null</error>
    </actions>
    <completed>2001-09-04 16:33:58.592</completed>
    </wlpirequest>
    >

  • Starting a workflow from an XML file

    Does anyone know if there is anyway to have a workflow poll a folder for the existence of an XML file and start a workflow with it? When looking in the documentation, there is a mention of a scheduler. I need to integrate with a fairly old system that can only read and write text files. Any help is appreciated.
    Dave

    Hi Dave
    This is actually quite easy to achieve. We use this design pattern regularly, and it works very nicely.
    Here are the steps:
    * Download and deploy the DocumentImport, FolderWatch and FileCopyMove QPACs from http://www.avoka.com/avoka/qpac_library.shtml
    * Create a workflow that is your "Watcher" process.
    Step 1 in this will use the FolderWatch to wait for a file in the designated folder, capturing its name when it appears.
    Step 2: use the FileCopyMove to move the found file to a "Processed" directory. (Click the current-date checkbox to include the current date as a sub-folder - very handy.) Moving the file ensures that it won't be reprocessed on the next iteration.
    Step 3: Use the Chain QPAC (or our ChainPlus) to start the real process, passing the name of the newly moved file as a parameter. Then, have this Workflow loop back to step 1.
    If you make this workflow asynchronous, then it will even survive server restarts, so no need to restart it each time. The Watcher workflow will create one "real" workflow for each file that arrives in the watched folder.
    * Create the real workflow. It should have one "in" variable that is the name of the file. Step1: Use the DocumentImport QPAC to import the file into a process variable. You mention XML, so import into an XML variable. If the file is a properties file, then we also do have a properties file import QPAC. You're done, you can do the real workflow now.
    If you have any problems with this, please let us know.
    Regards,
    Howard
    PS You should periodically stop and restart the watcher process. The reason for this is that you will get a LOT of entries in the audit trail for this process instance in adminui, and stopping and restarting keeps this to manageable numbers.

  • Problem starting database

    TOday morning standby server closed (due to power problem). and now having problem starting standby database with the following error message
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/oracle/product/10.2.0/db_1/dbs/init/alpabkcp.ora'
    SQL> startup pfile='/oracle/product/10.2.0/db_1/admin/alpaorcl/pfile/initalpabkcp.ora';
    ORA-10997: another startup/shutdown operation of this instance inprogress
    ORA-09967: unable to create or open lock file
    Linux-x86_64 Error: 2: No such file or directory
    my alert log file line
    RFS[1]: Archived Log: '/alphabkcp/alpharch/alpaorcl_1_2903_656011503.arch'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[1]: No standby redo logfiles of size 512000 blocks exist
    Fri Sep 4 07:23:04 2009
    Media Recovery Log /alphabkcp/alpharch/alpaorcl_1_2903_656011503.arch
    Fri Sep 4 07:23:18 2009
    Media Recovery Waiting for thread 1 sequence 2904 (in transit)
    Fri Sep 4 12:40:32 2009
    RFS[1]: Archived Log: '/alphabkcp/alpharch/alpaorcl_1_2904_656011503.arch'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[1]: No standby redo logfiles of size 512000 blocks exist
    Fri Sep 4 12:40:34 2009
    Media Recovery Log /alphabkcp/alpharch/alpaorcl_1_2904_656011503.arch
    Fri Sep 4 12:41:08 2009
    Media Recovery Waiting for thread 1 sequence 2905 (in transit)
    Fri Sep 4 23:27:22 2009
    RFS[1]: Archived Log: '/alphabkcp/alpharch/alpaorcl_1_2905_656011503.arch'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[1]: No standby redo logfiles of size 512000 blocks exist
    Fri Sep 4 23:27:24 2009
    Media Recovery Log /alphabkcp/alpharch/alpaorcl_1_2905_656011503.arch
    Fri Sep 4 23:27:44 2009
    Media Recovery Waiting for thread 1 sequence 2906 (in transit)
    After close server i was restart server two time but my alert file show same error.

    HI..
    Shutdown the standby database, copy the controlfile to the locations you want, edit the pfile and add the locations of the controlfiles in contfrol_files parameter , save it and startup nomount pfile='location';
    Then mount the standby database and create spfile from pfile;
    Anand
    Edited by: Anand... on Sep 6, 2009 1:02 AM

  • Start workflow with f. module to trigger event and how to pass data to BOR?

    Hi,
    I have a custom BOR object, with Event "Created". I have also an attribute in this BOR, just simple field Plant.
    I have prepared a custom Workflow which is triggered when event Created of that custom BOR business object is raised.
    To raise an event and to start a workflow I run f. module SAP_WAPI_CREATE_EVENT.
    I have a problem to pass a Plant value to the Workflow container. In the PFTC_CHG for my Workflow I made the container
    of BOR object, and the data binding &_EVT_OBJECT& => &MATREQ&  (symbol of my BOR).
    Below both of EVTOBJECT and MATREQ I can see my field Plant.
    Then I run f. module SAP_WAPI_CREATE_EVENT with tables parameter input_container.
    I try to fill the data in many ways, but the started workflow does not have Plant filled.
    I try to use '_EVT_OBJECT.WERKS' in field name for input_container parameters.
    Business Object is passed to the Workflow container, but I do not get the fields
    as attributes. Do I have to use the parameters for the event Created ?
    Thank you in advance
    Wojtek

    Hello,
    I've never used GUID as a key but I suppose the principles are the same - the object instance is equivalent to "something", say a widget.
    This widget has attributes, e.g. the factory where it was created, the day it was created, its weight etc.
    If you make a widget BOR object and you specify attributes then you're telling SAP how, given the key, it can deduce the value of the attributes. Widget 1234's weight can be looked up in table XXX by doing this select.
    If you pass an object instance to a workflow then all you need to pass is the type of object and the key, the rest can be done by the workflow (or any other program). It can instantiate the object, and the attribute values are immediately available.
    If you can instantiate the object in SWO1 and the attributes get values, then it should work in the workflow as well.
    If not, please provide the code of the attribute or describe how it finds the attribute value.
    regards
    Rick Bakker
    hanabi technology

Maybe you are looking for

  • PAYMENT TO  TRANSPORTER

    HELLO EXPERTS, NOW I M PURCHASING MATERIAL FROM MY VENDOR. HERE IN PARTNER FUCTION I M GIVING TRANSPORTER'S NAME. I HAVR TO PAY MY VENDOR AND TRANSPORTER SEPARATELY. HOW IT CAN POSSIBLE ?? SO THAT I THROUGH T.CODE MIRO I M ABLE TO PAY TO DIFFERENT VE

  • Using XI WebService in CAF as external service with Logical Destination?

    Hello, I created a scenario WebService -> XI -> WebService in a PI7.1 system. I used the Web Service Wizard in order to generate a WSDL. If I test it for example in XMLSpy it works fine. We then imported this WSDL into CAF as external service. That a

  • Maintenance optimizer configuration Steps

    Dear All, I am stuck with Maintenance optimizer configuration. Can somone provide a usefull link for the same i am using SOLMAN 4.0 with SP 15. Best of regards, Gaurav Sood

  • Presistent  request for JCA in OSB 11G

    Hi Guys, Here is my scenario 1. To have a JCA in OSB with publish to the JCA business service. 2. If fail to insert the service will keep on retrying. Can i have this above scenario if the service is a async process?

  • Database Encoding and character set

    Hi, Is it possible to change [some easier straigtht forward way] the encodings and character set for a database [DB11 in this case]? I have a database which has UTF16 and MSWIN1252 as the encoding and characterset, i want to change it to UTF8 for som