BPEL 11g based Scheduling Using BPM Timer Activity

Hi Team,
Can any one throw Some light how to implement Oracle BPEL 11g based Scheduling (Not using QUARTZ, the open source scheduler).
My client is not want to use QUARTZ, the open source scheduler.
So can any one on the same.. the requirement is like every morning Syatem automatically assign tasks to the Next level Manager. So we need to USe Timer Activity of BPM 11g??
Regards,
Pavan

Hi Vlad,
I am not sure weather I have framed the question properly... let me frame it again...
I've a Manager has 10 team leads and he will receive 50 task.
And he manually selects selects 6 Leads(This is a manual activity).
Then,
a) Where we need to fetch the role from OID for which Lead belongs to which manager
b) Scheduling i.e., Using BPEL based Java API activity using Timer Activity of BPM(or using some other process if we have) he needs to Route those 50 tasks to this 6 selected leads based on their skills and department. and this scheduling has to be daily task at 7am or 8am after manual process from Manager i.e., selecting the leads for tasks.
Correct me if I have mentioned inadequate information...
Note: As my client dont want Quartz Java based API. I really dont know the reason...(also can u please send me example for my reference quatrz 2.0 based.)
Regards,
Pavan
Edited by: 971442 on Nov 16, 2012 6:03 AM
Edited by: 971442 on Nov 16, 2012 6:07 AM

Similar Messages

  • [Urget Help] [BPEL 11g] How to use Database 11g as Identity Service source?

    Dear all,
    My customer is using BPEL 11g for current project. They have a legacy user database (Oracle DB 11g) which store all accounts info.
    Now we want to connect BPEL with this database as identity service and pick up the users and groups as approver. I saw following graph from below link, but I don't know how to implement it. It seems a huge change in BPEL 11g.
    Can you give me an idea on it? Any suggestions are welcome.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm#BABEIHDD
    Thanks in advance.

    repost

  • Use of Times ten database with Oracle Forms 11g

    Hi,
    We need to use some caching / pre-fetching solution with Oracle Forms 11g.  Is there a possibility that Oracle Forms 11g can be used with Times ten database.
    Regards,

    We have never tested TimesTen with Forms 11g but we suspect there are issues that may prevent if from being used.
    Sorry.
    Chris

  • Scheduling alternative to Timer

    Hi,
    I have a server instance which runs on JVM 1.2. I can't upgarde it to JVM 1.3 and above too. So I cannot implement scheduling using the Timer class.
    What are the other options I have to implement a scheduling task in java . Let say i want to print "Hello JAVA" every day.
    Thanks
    jigo

    Let say i want to print "Hello JAVA" every day.
    new Thread() {
        public void run() {
            while (true) {
                try {
                    // The "24" here is really "24L" to avoid overflow. The forum
                    // software in its infinite wisdom clips off the "L".
                    Thread.sleep(24L * 60 * 60 * 1000);
                    System.out.println("rhubarb");
                } catch (Throwable e) {
                    ...log the exception...
    }.start();If you need to do it at e.g. midnight: calculate the time until the next midnight and sleep that amount. Oh, what the heck:
        public static void sleepModulo(long milliseconds, long minimum_sleep)
            long now = System.currentTimeMillis();
            long then = now / milliseconds * milliseconds + milliseconds;
            long sleep = then - now;
            if (sleep < minimum_sleep)
                sleep += milliseconds;
            if (sleep == 0)
                return;
            try {
                Thread.sleep(sleep);
            } catch (InterruptedException e) {
                // ignore
        }Your operating system might not like if you start hundreds of threads. So if you have hundreds of tasks you may want to write a Timer class yourself. Or google, someone has probably done one already. If you just have a few tasks you can use individual threads.

  • Scheduling Time Based Jobs using Web Dynpros.

    Hello Again,
    I would like to know if it is possible to perform time based jobs using Web Dynpros, I have a situation where a Web Dynpro application updates a Database and then later during the day say at around 9:00 PM, I would like the Web Dynpro application to transfer all the updated Data to another Database, I know we can run a batch job but can we run create a Web Dynpro application to programatically fire a batch job at the required time.
    I am welcome to any suggestions.
    Best Wishes,
    John.

    Hi John,
    WD is not good option for this. I would suggest you to "extract" logic to separate layer and use Timeout service (http://help.sap.com/saphelp_webas630/helpdata/en/6b/2550d23ef1994580114d6064bc44a1/frameset.htm) - call logic from service.
    Best regards, Maksim Rashchynski.

  • MRP - Auto creation of del schedule lines based on planned delivery time

    Hi,
    We have activated MRP (type PD) where Purchase requiesition is auto created by system for requirement quantity. We require to optimize delivery schedule in such a way that entire PR quantity is broken into various delivery schedule based on planned delivery time and requirement.  Scenario can be further explained with following example.
    Material Requirement for a month is say 1,25,000 units
    Closing Stock say 25,000 units
    PR Generated by system for 1,00,000 units. The entire quantity is schdulled with only one delivery schedule line as per planned delivery time. 
    The requirement is to generate multiple delivery schedule lines automatically in Purchase requisition based on planned delivery time so that Purchase orders can be placed with system generated delivery schedule lines.
    How can it be achieved ?
    Regards,
    Nirav Kinkhabwala

    Nirav,
    This subject has been discussed repeatedly in this and other forums.  I must assume that you overlooked the rules of engagement, which state that you should first search the forums and other public sites, before posting questions here.
    Standard SAP MRP cannot be made to generate multiple items in a Purchase requisition.  The functionality you seek is usually achieved when converting purchase reqs to Purchase orders, where many single purchase reqs can be adopted into a single Purchase order.
    You also might want to investigate use of Vendor Scheduling agreements.
    Best Regards,
    DB49

  • Problem with Acess policy based Provisioning using DBConnecor in OIM 11g R2

    Hi,
    I am doing Access policy based Provisioning using DB Connector 9.1.0.5.0 in OIM 11g r2.
    it is throwing ITResource Instance with key 0 does not exist. but there no option to select it resource in Process form via Acesspolicy.
    in Application instance form there is a form in that it-resource field is available with default value 0. i am trying to update this value it is not updating . at the time of triggering access policy i am getting following error.
    [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 0000JdMSEGQApIGqywYfMG1GU6ud000002,0] [APP: oim#11.1.2.0.0] Class/Method: APIUtils/createApplicationInstance encounter some problems: ITResource Instance with key 0 does not exist.[[
    oracle.iam.provisioning.exception.ITResourceNotFoundException: ITResource Instance with key 0 does not exist.
         at oracle.iam.provisioning.util.ApplicationInstanceUtil.validateITResource(ApplicationInstanceUtil.java:119)
         at oracle.iam.provisioning.impl.ApplicationInstanceServiceImpl.addApplicationInstance(ApplicationInstanceServiceImpl.java:70)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy455.addApplicationInstance(Unknown Source)
         at oracle.iam.provisioning.api.ApplicationInstanceServiceEJB.addApplicationInstancex(Unknown Source)
         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.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         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.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         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)
    its urgent requirement.
    Thanks,
    Edited by: 853559 on Oct 12, 2012 2:25 PM

    You can re-visit access policy It will have the Process form where you can provide the access policy and save it. Access policy is already created so you can modify access policy and open the process form select IT Resource and save it.
    Another way to write pre-pop adapter for populating IT Resource on the process form. But I am sure you can provide it resource via access policy.
    ---nayan

  • BPEL 11g Transform Activity

    Hi
    We are developing EDI 850 Transaction using SOA 11g Environment. We are successfully able to complete the B2B 11g Trading partner setups and able to successfully puch EDI XML to IP_IN_QUEUE.
    We developed a 850 EDI BPEL mappings using BPEL 11g (Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536). We received the payload from IP_IN_QUEUE using B2B adapter successfully. After receiving this payload we are trying to map source elements to target schema. For testing we have mapped couple of elements from source to target.
    But, Transform activity is not performing the mappings which we mapped and its coming null at run time.
    We are not able to find the reason. Could some body let us know what could be issue?
    Regards
    Ravi

    Hi
    Thanks for your reply.
    We tried by assigning the static text, this text successfully comes at run time.
    We have only issue when mapping from source to target. None of the values are getting mapped to target from source.
    - Ravi

  • In SXMB_MONI with(Green Flag) "Message Scheduled Outbound Side" (using BPM)

    Hi All,
    I had a Scenario where I am using BPM (to collect the Idocs received from Sender SAP R/3 system) and create a File as target structure. But one of the entry i found as (Green Flag) with status "Message Schedule Outbound Side". But the remaining messages are processed successfuly through the same BPM.
    I even found that the when i double click on the PE of the "Green flag entry". its leading to "qRFC Monitor(Inbound Queue) with empty entries" instead it should lead me to the workflows Log screen. Since other successfully messages are leading to workflow log when i double click on the PE.
    Please let me know your comments on this.
    Thanks,
    Shailaja

    Hi Gouri,
    I am getting gray flag in the column (Status - XML Message Status) and green flag in Colum (C- Outbound Status). So this Greem flag itself is creating the problem, because of this itself my messages is not getting processed and not delivered to target system.
    I have even checked SXI_CACHE, when i click on the Integration Process-- Right click on my BPM and  select the "Activation Log" .. here a message which i had
    I  Language not set. Using system default E
    The container element MULTI_INVOIC02 is written, but not read or exported
    The container element MULTI_INVOIC02 is written, but not read or exported
    So the  "MULTI_INVOIC02 " is used in the Container Operation  & Multimapping of my BPM. I suspect that error as taken place in doing Corelation. Do you have any comments on this. If i get any error in Corelation .. how can i debug my BPM.
    Thanks,
    Shailaja

  • BPEL 11g - Error using FileAdpter + loop while

    Hi
    I'm using FileAdpter to read some files, each file contain between 50 and 150 records, after the adapter reads records and transform the msg, the payload is send to a Bpel Proccess.
    My Bpel iterate over the records using a while activity, the problem happens when the numbers of records is grater then 91, my composite never finish, and appear Running status in console.
    Inside the while activity i put the ora:getElemnt(node, index) to retrieve the current row, if a just place a static value inside the loop it's run perfectly, but using getElment or /someXpath[$index] the bpel never ends.
    Should i have to config in Bpel server to work with large documents ?
    (sorry for my poor english) :)
    Any ideas guys ?

    Hi Klemp,
    No need of configuring the server.
    11g can handle giga bytes.
    I think in BPEL activities expressions $index will not work.(as of my knowledge these works in XSLT only, I mean $var and exists() function these kind of things..), You have to use like bpws:getVariableData("Index") insted of $index
    you can define variables and you can use them as indexes while retrieving data.
    Like
    <assign name="AssignIndexAndCount">
          <copy>
            <from expression="ora:countNodes('MyVariable','PartName','/ns1:Var_Input/ns5:Id')"/>
            <to variable="CountActivities"/>
          </copy>
          <copy>
            <from expression="'1'"/>
            <to variable="Index"/>
          </copy>
        </assign>
    <while name="WhileName"
               condition="bpws:getVariableData('Index')&lt;=bpws:getVariableData('CountActivities')">
          <sequence name="CraeteOrderNotifications">
            <assign name="AssignIndexes">
                <from variable="inputVariable" part="payload"
                      query='/ns3:MyEBM/ns3:DataArea/ns3:Var1/ns4:PersonDetails[bpws:getVariableData("Index")]/ns4:PhnNumber'/>
                <to variable="varIndex2"/>
              </copy>
            </assign>   
            <assign name="IncrementIndex">
              <copy>
                <from expression="bpws:getVariableData('Index')+1"/>
                <to variable="Index"/>
              </copy>
            </assign>
          </sequence>
        </while>Regards
    PavanKumar.M
    Edited by: pavan4s on Aug 2, 2010 7:59 AM

  • BPM,Time bound based message collection

    Dear all,
    I need to collect messages of the employee information daily at 6.pm IST and send to the Receiver.
    For this I took Loop(condition is the Problem)->Receive container to append->tranformation here I assigned line item to multiline element.
    is there any function to get the present system time and get the messages till 6pm daily and send it to my receiver.
    Is there any other approach to achieve the same?
    Thanks,
    Srinivasa

    Hi Srinivas.
    In case, if you want the BPM to wait till 6pm or some specified time, you can use the WAIT step, wherein you can set the option "Wait Till Specified Time" and pass the time until the BPM is supposed to wait. This might solve your problem.
    As far as my knowledge is concerned, BPM cannot be scheduled to start at a certain time or date, else, it can be started only by means of a corresponding message.
    Check out these blogs. These will provide you with the information that you need:
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm
    /people/community.user/blog/2006/11/16/step-by-step-realize-your-bpm-scheduling-capability
    Regards,
    Hari.

  • Time based scheduling  of adaptors in NW 2004S

    Hi XI gurus,
    I know that time based scheduling  for adaptors(Let say polling starts at 2 AM daily) can be done in SP19 of NW2004.
    Could anyone tell me in NW2004S this feature  is availbale or not and if yes on which SP ?
    Regards
    Vijay

    SAP NetWeaver 2004 SP Stack Release to Customer (RTC) Additional nformation 
    SPS 21 Calender Week 42, 2007 (planned) 
    SPS 20 May 3rd, 2007
    SPS 18 August 22nd, 2006
    more detail
    https://websmp106.sap-ag.de/~sapidb/011000358700001130682005E
    SAP NetWeaver 2004s SP Stack Release to Customer (RTC) Additional Information 
    SPS 14 Calendar Week 45, 2007 (planned)
    SPS 13 Calendar Week 32, 2007 (planned)
    SPS 12 Calendar Week 21, 2007 (delayed)
    SPS 11 March 5th, 2007
    more detail
    https://websmp106.sap-ag.de/~sapidb/011000358700004584092005E
    hope help you!
    Please Award points if help is useful .

  • How to use the compensate activity in bpel flow

    Hi
    Can anyone please let me know how to use the compensate activity in bpel flow. Like i have 4 DB adapters in a flow if any one fails i want do the roll back by using compensate activity.
    I am femiliar with transactions proparties, I want to do it from compensate
    Any suggestions would be appricite.
    Thanks in advance.

    Hi,
    wrong forum, please try the SOA forum SOA Suite
    Frank

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If a new SIM is activated on the same account for the same number, any existing SIMs for that number are deactivated.
    Why exactly would you care if the SIM in the missing device still works or not?

Maybe you are looking for