Dinamic Queue

Hi gurus,
The following question has arisen us:
In an integration with SAP R/3, it's desired to use XI like middleware.
A user can make n activities. In each activity, will be generated one file that will be sent to another system (SS) in order to inform to him of this activity. System "SS" will return an answer in a file too. This procedure will repeat n times by each user.
They wish to do is to assign a queue for each user and that all the activities that make this user are transmitted by those queue of XI. When the user finalizes all the activities, the queue will be erased.
In conclusion, to assign a queue dynamically to an activity. Is this posible?
Can have n queue in a system? How is it made?
Kind regards

Adapter modules are like "BADIs" in Adapter Pipeline.
They are a standard way of inserting custom code in the adapter runtime.
Check this document for further info: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
Regards,
Henrique.

Similar Messages

  • Create Queue Dinamically

    My applicationt needs to create a queue at runtime, dinamically. In the source code to create the code I use the method createQueue(queueName) and after I do the bind in the context. This is the code:
    queue=queueSession.createQueue(queueName);
    try
    jndiContext.rebind(queueName,queue);
    System.out.println("Bind fatto");
    queue=(Queue)jndiContext.lookup(queueName);
    System.out.println("Presa coda");
    }catch(NamingException namEx)
    System.out.println("Problemi con la binda");
    namEx.printStackTrace();
    System.out.println("La coda � "+queue.getQueueName());
    queueReceiver = queueSession.createReceiver(queue);
    The queue is created in correctly way and also the bind in the context is done in correctly way. When the application
    creates the receiver opn the queue thereis an exception .
    The exception is:
    javax.jms.InvalidDestinationException: No Destination found
    for name: ProvaQueue2
    Can I resolve this problem?Can I create and use a dinamically queue?
    Thanks for the help.

    A queue is an administered object that should be created prior to the application running. The purpose of the
    method createQueue(queueName) is to create a Queue object - that is the description of the queue - not the Queue itself. The 1.0.2b Javadoc for this method says
    Creates a queue identity given a Queue name.
    This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable.
    Note that this method is not for creating the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API. The one exception is the creation of temporary queues, which is accomplished with the createTemporaryQueue method."
    You should not be creating a queue dynamically. If you are working with the JMS Reference Implementation, you can use the JMS Administration tool (j2eeadmin) to create a queue. If you are using another implementation, consult the documentation for how to create queues.
    My applicationt needs to create a queue at runtime,
    dinamically. In the source code to create the code I
    use the method createQueue(queueName) and after I do
    the bind in the context. This is the code:
    queue=queueSession.createQueue(queueName);
    try
    jndiContext.rebind(queueName,queue);
    System.out.println("Bind fatto");
    queue=(Queue)jndiContext.lookup(queueName);
    System.out.println("Presa coda");
    }catch(NamingException namEx)
    System.out.println("Problemi con la binda");
    namEx.printStackTrace();
    System.out.println("La coda �
    "+queue.getQueueName());
    queueReceiver =
    eReceiver = queueSession.createReceiver(queue);
    The queue is created in correctly way and also the
    bind in the context is done in correctly way. When the
    application
    creates the receiver opn the queue thereis an
    exception .
    The exception is:
    javax.jms.InvalidDestinationException: No Destination
    found
    for name: ProvaQueue2
    Can I resolve this problem?Can I create and use a
    dinamically queue?
    Thanks for the help.

  • CISCO IPCC EXPRESS - SUPERVISOR NEEDS TO DINAMICALLY MOVE AGENTS BETWEEN QUEUES

    We have a Cisco IPCC Express environment with two queues ("REQUESTS" and "TROUBLES"). In case of, for instance, a great trouble in the customer network (loss of the e-mail service), most of people will call to the Troubles service, so the customer would like to forward some agents to take calls of this queue.
    So, we need to dinamically distribute the agents between several queues. Is this possible? Thank you very much.

    Hi
    The parameter was in System/System PArameters in AppAdmin; it's called 'Supervisor Access'. You can set it to 'None' 'Sup's Teams Only' etc.
    It was (I think) introduced in 5.0, but you may find it's not in v6.0 as that was kind of a parallel universe release for the dying Windows CCM train...
    Regards
    Aaron
    Please rate helpful posts...

  • Set Queue dinamically in Send step

    Hi,
    Does anyone know if it is possible to set the queue name for EOIO processing in a send step of a ccBPM dynamically?
    Thanks
    Rodney

    Hello,
    You can do a scneario  EOIO without CCBPM as well and infact that is a good option in order to avoid performance issues.
    Steps: -
    Do your scneario as usual.
    but while configuring the INTERFACE DETERMINATION please select your 2 operation mappings and then check the radio button...known as "MAINTAIN ORDER AT RUN TIME"....
    Purpose: -
    If you select this option then it ill matain an order at the INTEGRATION ENGINE the mapping will gets executed at same time but at ADAPTER ENGINE LINE at runtime it maintains order at runtime..that means untill the FIRST ADAPTER lets say Ex; - JDBC is successfully posted the data into the database then corresponding 2nd adapter lets say FILE will not post/ create  the RETURN CODE file it will be in HOLDING state,
    Testingl_
    Even u can test this scenario by stopping the first JDBC channel and then go ahead  and execute the scenarion Difinetely that file adapter is in Holding untill the first adapter s succeeded.
    Regards
    Amar Srinivas ELi

  • ADF: big issues (bug?) with dinamic region refresh

    Hi all,
    we are creating a page that contains a component like the DinamicTabUiShell, but we have several problems refreshing the dinamic region we are using.
    Here is a detailed explanation of our work.
    We have page (monitoraggio.jspx) that has a panel stretch layout. Inside the top facet, we have navigation pane, that draws its tabs with a for each, looping through a managed bean (monitoraggioTabbedPane) collection . Inside the center facet, we have a dinamic region (monitoraggio.jspx, ID=r1).
    We can say that we implemented the adf DinamicTabUiShell.
    This is monitoraggio.jspx
       <af:panelStretchLayout id="psl2" topHeight="auto"
                                             endWidth="0px" bottomHeight="0px"
                                             >
                         <f:facet name="bottom"/>
                         <f:facet name="center">
                               <af:region value="#{bindings.dynamicRegion1.regionModel}"
                                          id="r1" partialTriggers="::np1:cni1"
                                          />
                          </f:facet>
                         <f:facet name="end"/>
                         <f:facet name="top">
                            <af:panelGroupLayout layout="vertical" id="pgl2">
                               <af:spacer width="10" height="10" id="s1"/>
                               <af:panelBorderLayout id="pbl1"
                                                     styleClass="AFStretchWidth"
                                                     binding="#{viewScope.monitoraggio.tabbedPaneArea}">
                                  <af:navigationPane id="np1">
                                     <af:forEach items="#{monitoraggioTabbedPane.monitoraggioTabItems}"
                                                 var="tab">
                                        <af:commandNavigationItem text="#{tab.tabName}"
                                                                  id="cni1"
                                                                  action="#{tab.activateTab}"
                                                                  selected="#{tab.selected}"
                                                                  immediate="true"
                                                                 >
                                        </af:commandNavigationItem>
                                     </af:forEach>
                                  </af:navigationPane>
                                  <f:facet name="end">
                                     <af:group id="g1">
                                        <af:commandImageLink id="cil1"
                                                             icon="/icons/closeDialog_mo.png"
                                                             disabledIcon="/icons/closeDialog_d.png"
                                                             hoverIcon="/icons/closeDialog_n.png"
                                                             depressedIcon="/icons/closeDialog_md.png"
                                                             action="#{monitoraggioTabbedPane.removeSelectedTab}"
                                                             rendered="#{monitoraggioTabbedPane.currentTabPosition > 0}"
                                                             immediate="true"/>
                                        <af:spacer width="15" height="10" id="s2"/>
                                     </af:group>
                                  </f:facet>
                               </af:panelBorderLayout>
                            </af:panelGroupLayout>
                         </f:facet>
                      </af:panelStretchLayout>monitoraggio.jspx page def
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.56.60" id="monitoraggioPageDef"
                    Package="sop.view.pageDefs" SkipValidation="true"
                    ControllerClass="sop.view.pagePhaseListener.MonitoraggioListener">
       <parameters/>
       <executables>
          <variableIterator id="variables"/>
          <taskFlow id="dynamicRegion1"
                    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
                    activation="deferred"
                    xmlns="http://xmlns.oracle.com/adf/controller/binding"
                    RefreshCondition="#{monitoraggioTabbedPane.changed}">
             <parameters>
                <parameter id="oggettoCoinvolto"
                           value="#{monitoraggioTabbedPane.monitoraggioCurrentTab.oggettoCoinvoltoAllarme}"/>
                <parameter id="refreshFlag" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="isStandalone" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="beanRicercaTratte" value="#{null}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
             </parameters>
          </taskFlow>
       </executables>
       <bindings/>
    </pageDefinition>The content of the dinamic region is took from the managed bean of each tab added to the navigation pane: each tab keeps track (through OggettoCoinvolto attribute) of its content, and the dinamic region loads its task flow using the tab attribute OggettoCoinvolto.
    Since we have to open tabs programmatically, to open a tab, what we do is:
    - add a tab to the monitoraggioTabbedPane managed bean tabs collection (here we create the tab managed bean object, setting the OggettoCoinvolto property)
    - try to refresh both the dinamic region and the tabbed pane.
    All these operations, work flawlessly: we see that the model (monitoraggioTabbedPane tabs collection) contanis all the tabs, and each tab contains its correct task-flow-id, and this task-flow-id is correctly returned to the dinamic region.
    The problems is about refreshing the view (both the dinamic region and the navigation pane)
    To refresh them we tried using both AdfFacesContext.getCurrentInstance().addPartialTarget, and queueActionEventInRegion, we tried also setting the region refresh property to "ifneeded" and we changed a boolean flag passed as input of the region each time we wanted to refresh it, we used partianTriggers (you can all see in monitoraggio.jspx), but it does not work...
    Sometimes we see that only the NavigationPane is refreshed, and sometimes when switching tabs, we see that the dinamic region does not change its content.
    What can we do? Is our way to refresh region/dinamic pane wrong ?
    We tried also to set the refresh property of the region to 'default' and using the refresh condition, changing it programmatically, but it does not seem to work...
    Take, as an example, a refresh condition that simply gets the value of a boolean in a managed bean (monitoraggioTabbedPane.changed).
    TO make the refresh condition work, is it sufficient to change the boolean with a simple assignment (changed = true), or do we need to use JSFUtils.setExpressionValue(#{monitoraggioTabbedPane.changed}, true) ?
    Is there any way, in adf 11g, to dinamically launch an design-time-unknow-number of task-flows, where each task-flow is implemented as a region and each region must be associated to a different tab. Is possible to achieve this using dinamic region, or we are mis-using the dinamic region ? How can we refresh it ?
    Many thanks to anyone willing to lean an hand...

    I notice you have the activation property set to deferred.
    <taskFlow id="dynamicRegion1"
    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
    activation="deferred"
    I would set it back to default or immediate for the sake of clarity. According to the doc, setting it to deferred has the same effect as immediate for JSP based pages. This is purely cosmetic.
    You have refreshCondition set which is not what you want in this case.
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    RefreshCondition="#{monitoraggioTabbedPane.changed}">
    You should clear this setting and change the refresh attribute to ifNeeded.
    Your refreshFlag is hard-coded to true.
    <parameter id="refreshFlag" value="#{true}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    When dynamicRegion1 is refreshed, it will only execute if one of it's task flow parameters has a different value then it did during the previous execution. refreshFlag should be set to an el expression that changes at least every time you change tabs if not more often depending on your requirement.
    You mention "we changed a boolean flag passed as input of the region each time we wanted to refresh it" Did you set refreshFlag to an el expression in a different version of the code?
    Sounds like you may have already tried all the above - if that's the case here some suggestions to help diagnose the issue further after you've returned to settings above.
    1) Go to monitoraggio.jspx page def and - in the design tab - and right click to the right and the left of dynamicRegion1 and select Toggle Breakpoint to enable breakpoints before and after the task flow is evaluated.
    2) Go to the design view of the task flows that you are showing in the tabs. Right-click on the each task flows default activity and select Toggle breakpoint to set a breakpoint.
    When you run the application, you should hit the pageDef break points any time the task flow is queued for refresh. If you don't hit those breakpoints, then whatever you are doing to refresh the task flow isn't working.
    Assuming you are successfully queuing your task flow for refresh, you'll hit the pageDef breakpoints. When you hit the first one (on the left), go the expression evaluator in the debugger and enter the el expression for refreshFlag and evaluate it. You want to verify that it changes as expected. If the value of the expression doesn't change before the next tab is displayed, the task flow won't be re-executed. If the values not changing as expected, you need to change the logic you use to update the refreshFlag.
    You'll only hit the breakpoints on the default activities in your task flows when they are actually executed. If you hit the default activity breakpoint but are still seeing stale data, there's something wrong with the logic internal to the task flow.
    Hope that helps.

  • GetMembers from a distributed Queue/Topic

    Hi,
              i don't know if i can get the members of a distributed queue or topic.
              I know the jndi of the distributed queue/topic, but i want to access the members directly. And i supose i can do it "dinamically", but i don't know how.
              any help ? i am lost.
              thanks

    Hi,
              I assume you are talking about pre-9x "weighted" distributed destinations and yes you can use "getMembers()" from weblogic.management.configuration.JMSDistributeQueueMBean/JMSDistributedTopicMBean. You can also use specific getters such as getJMSDistributedQueueMembers()/TopicMembers()as well.
              In 9x, we only support the specific ones (getDistributedQueueMembers()/TopicMembers()) that are available from weblogic.j2ee.descriptor.wl.DistributedQueueBean/DistributedTopicBean API.
              Note that in 9x, we do have "uniform" distributed destination (UDD) that have their members managed internally and hence no accessors to get them. Another difference is that in 9x the configuration is represented by the "descriptior beans" as opposed to in pre-9x where we used to have JMX MBeans.
              For 9x, please take a look at weblogic.jms.extensions.JMSModuleHelper to get more info on the helper APIs.
              Hope this helps.
              Kats

  • Getting all values from a queue

    Hi all,
    I have a queue as follows:
    [123] - intital Context
    [sollinger Str]
    [123] - CC
    [Solinger Str]
    [123] - Final context
    An image of the queue looks as follows:
    [http://i42.tinypic.com/hsj052.jpg]
    Iam getting this queue in a userdefined function. I want to get or copy all the values from this queue to a new array as follows without any contexts.
    That is, I want to have a queue as follows from the above queue.
    [123]
    [sollinger Str]
    [123]
    [Solinger Str]
    [123]
    How could that be done...
    Thanks
    P

    Hi guys...thanks 1 more thing
    If My inbound queue "a" is as follows:
    SUPRESS
    AP
    YG
    LF
    contextChange
    YG
    LF
    Final Context
    In my Queue "b" which is as follows
    SUPRESS
    123
    sollinger...
    123
    Sollinger...
    123
    FinalContext
    My requirement is in my "b" queue , I want to put a CC as follows by using a  standard node function if possible
    SUPRESS
    123
    sollinger...
    123
    contextChange
    Sollinger...
    123
    FinalContext
    IF THAT dont work Inside my UDF I want to put thE CC for the b queue.
    How will the loop behave then?
    What will be passed to my input queue "a" and "b" when execute "all values on context" is set.
    "a" has a context and "b" doent have one.
    My UDF
    public static void Test(String[] a,
                                           String[] b,
                                           ResultList result,
                                           Container container){
    //Contains no context change
        String b[] = {ResultList.SUPPRESS,"12","sollinger","12","sollinger","12",
                      ResultList.CC};
    I make the following steps
    copy to an arraylist. add a context change in between.
    copy back to string b.

  • Problem with Queue and threads

    Hello,
    the following is the code :
    public class Tester extends Thread
    private String fname;
    public String getFname()
       return fname;
    public void setFname(String fname)
       this.fname = fname;
    public Tester(String fname){
       super();
      this.fname = fname;
    }Heres another class
    class N {
        Thread r = null;
        public void checkQ()
          Queue q = new ConcurrentLinkedQueue<N>();
          for(int i = 0; i < 13; i++)
             System.out.println("FOR I is "+i);
             r = new Tester("Name" + i);
             q.offer(r);
             processq(q);
        public void processq(Queue queueOfM)
           if(queueOfM.size() > 10)
              System.out.println("size of queueofM is "+queueOfM.size());
            for(int j=0; j < queueOfM.size();j++)
                 System.out.println("J is "+j);
                 this.r = (Thread)queueOfM.poll();
                 this.r.start();
       }When run, the code prints :
    FOR I is 0
    FOR I is 1
    FOR I is 2
    FOR I is 3
    FOR I is 4
    FOR I is 5
    FOR I is 6
    FOR I is 7
    FOR I is 8
    FOR I is 9
    FOR I is 10
    size of queueofm is 11
    J is 0
    J is 1
    J is 2
    J is 3
    J is 4
    J is 5
    FOR I is 11
    FOR I is 12I was expecting the code to print the J till 11.
    Could you please help me find where I went wrong ?

    I think I may have been asking a wrong question.
    class N {
        Thread r = null;
        public void checkQ()
          Queue q = new ConcurrentLinkedQueue<N>();
          for(int i = 0; i < 13; i++)
             System.out.println("FOR I is "+i);
             r = new Tester("Name" + i);
             q.offer(r);
             processq(q);
        public void processq(Queue queueOfM)
           if(queueOfM.size() > 10)
              System.out.println("size of queueofM is "+queueOfM.size());
            for(int j=0; j < queueOfM.size();j++)
                 System.out.println("J is "+j);
                 this.r = (Thread)queueOfM.poll();
                 this.r.start();
              }The if in the processq method will come true when I is 11. so, once in the if, the for loop is executed. The j is checked till it is < 11 and then the value of j is being printed. So, as I was expecting J should print till atleast 10. However it is printing till 5 and quitting the loop, I dont know how or why, for which I was thinking if someone could show me why.

  • Performanc​e and W/R-Queue problems

    I'm new to NICAN programming and I'm in trouble with some weird behaviour:
    To measure bus-load with "KVASER Navigator" i wrote a simple program that sends very quickly a great number of frames.
    The first thing i noticed is the poor performance, reaching only about 70% of bus-load at 100K and at full processor load.
    And the second, (n := number of sent frames) only
    n-WRITE_QUEUE_LENGTH frames are send, the rest still is in the queue until a Queue-Overflow happens and the remaining 10 frames are sent, but at least 1 frame (which causes the Queue-Overflow still remains in the queue).
    Im using Celeron-600MHz, Win2000+SP5, NICAN PCI S2 (1Port) + newest driver 2.1.2 Beta
    My sourcecode: please see file-attachment CanBusLoa
    dTest.cpp
    Attachments:
    CanBusLoadTest.cpp ‏3 KB

    Try setting a larger write buffer. Also see this KnowledgeBase about Optimizing CAN performance:
    http://digital.ni.com/public.nsf/websearch/7076642​EBC9B819986256CEE00805F60?OpenDocument

  • Note: Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time

    Dear all,
    sorry for opening another thread on this.
    I think I have a performance issue with workflows attached to document sets in SharePoint. And I say “I think” because people keep telling me that this is the way it just is.
    The user creates a new document set, which triggers a workflow in which the user has to confirm/review/approve a series of tasks. The time it takes from clicking the OK button on those task form to the workflow status moving to the next step is about 4 seconds.
    And visiting that status page within those 4 seconds brings up the infamous “Note: Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.” message.
    Hitting Refresh in the browser after those 4 seconds will make the new workflow status appear and the red text go away.
    Is that normal? Is that the performance that everyone else is seeing as well?
    I struggle to see why simply moving a workflow from one task to another should take that on a machine that isn’t doing anything else at the time.
    (1)   
    I have a standalone (non-clustered) SharePoint box, 4 CPUs, 8 GB of memory, more than half of that available, acting as application server and wfe; only the database is on different box.
    (2)   
    The CPU only goes up to 18 or 19%, so CPU does not seem to be the bottleneck. Half the RAM is also still free.
    (3)   
    The workflow is designed with Nintex, and has about 9 flexi and review tasks – the last 2 of them in a loop iterating over typically 3 or 4 items.
    (4)   
    Looking at the logs it looks like the processing in Nintex only takes about 1 second – I don’t know where the other 3 seconds are going.
    (5)   
    There is nothing obvious in the logs.
    (6)   
    We’ve looked at all the “theoretical” improvements around throttling and batch sizes etc. – none of them appeared make any difference. And the workflow is so small that it looks like my tasks gets executed straight away. The problem appears
    to be that the execution takes too long(?) and therefore has not finished by the time the page get redrawn.
    (7)   
    I am running perfmon and I can e.g. see one(!) workflow being loaded into memory – as expected as I am the only user.
    (8)   
    I am seeing a total of 3(?) SQL queries being executed(?). I get the Bytes Sent/sec spiking at 25K, and Bytes received at 18K. But is this good or bad or a bottleneck?
    Where do I take it from here?
    I have been told that “[…] most customers have no issue with this as they are used to the way SP operates and it can be slow at times.” Is it really that bad?
    If it is worth watching more performance counters then I’d need to know what to compare them to.
    Is there something else I am missing?
    Thanks
    Martin

    Hi,
    Before considering an additional hardware try to change following configurations for workflow:
    Increase Throttle Size
    Increase Batch Size
    Time Out
    Workflow Timer Interval
    AutoCleanUpDays
    Increase Throttle Size
    The Workflow throttle setting controls how many Workflows can be processing at any one time on the entire server farm. By increasing the throttle it will allow the number of Workflows execution or can be initiated at a time.
    Use below PowerShell command to get the current Throttle Size:
    Get-SPFarmConfig | Select WorkflowPostponeThreshold
    Use below PowerShell command to set new Throttle Size:
    Set-SPFarmConfig -WorkflowPostponeThreshold 100
    Increase Batch Size
    This is the size that determines number of events processed for a single Workflow instance. Default value is 100, but it can be range from 1 to any number.
    Use below PowerShell command to get the current Batch Size:
    Get-SPFarmConfig | Select WorkflowBatchSize
    Use below PowerShell command to set new Batch Size:
    Set-SPFarmConfig -WorkflowBatchSize 200
    Time Out
    This decides the time out of the Workflow event. The default value is 5 and can be any integer. The time is in minute.
    Use below STSADM command to get the current Time Out value:
    stsadm -o getproperty -pn workflow-eventdelivery-timeout
    Use below STSADM command to get the current Time Out value:
    stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “15″
    Workflow Timer Interval
    This setting is applicable at Web Application level and not the farm level. The workflow timer interval specifies how often the workflow SPTimer job fires to process pending workflow tasks. This interval also represents the granularity of delay timers within
    your workflow. If a timer is set to delay for one minute, but the interval timer fires only every five minutes, the workflow delays for five minutes, not one minute.
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o getproperty -pn job-workflow -url <Web Application Url>
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o setproperty -pn job-workflow -pv “Every 10 minutes between 0 and 30″ -url <Web Application Url>
    Here is the url for reference :
    http://praveenkasireddy.wordpress.com/2013/06/14/workflow-due-to-heavy-load-the-latest-workflow-operation-has-been-queued-it-will-attempt-to-resume-at-a-later-time/

  • Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.

    I have SharePoint 2010 Enterprise running SP1. Configuration is one SharePoint server in the farm and a SQL 2008 R2 database for the backend. Our user environment is 80 users with very little load on the SharePoint server. I have the workflow timer
    set to 1 minute.
    I have a SPD workflow that starts manually on a form library. Whenever I publish a new version of the workflow, the next time I start the workflow it takes the full minute to finish. If I click on the workflow status before it finishes, I see the message
    "Due to heavy load, the latest workflow operation has been queued. It will
    attempt to resume at a later time.". After the minute completes the workflow finishes.
    Here's the weird thing, the next time I start the workflow, it runs in a couple of seconds - almost instantly. I've tried up to 15 times after the inital publishing and everything seems to work fine on initiation.
    Well, that would be fine for me, however, I intermintantly get this heavy load message during task processes that are running inside the workflow. It's probably less than 5% of the time. It's really frustrating though so I appreciate some help. I'm look
    online and haven't found anything that describes my situation.
    Thank you in advance!

    Hi,
    Before considering an additional hardware try to change following configurations for workflow:
    Increase Throttle Size
    Increase Batch Size
    Time Out
    Workflow Timer Interval
    AutoCleanUpDays
    Increase Throttle Size
    The Workflow throttle setting controls how many Workflows can be processing at any one time on the entire server farm. By increasing the throttle it will allow the number of Workflows execution or can be initiated at a time.
    Use below PowerShell command to get the current Throttle Size:
    Get-SPFarmConfig |
    Select WorkflowPostponeThreshold
    Use below PowerShell command to set new Throttle Size:
    Set-SPFarmConfig -WorkflowPostponeThreshold
    100
    Increase Batch Size
    This is the size that determines number of events processed for a single Workflow instance. Default value is 100, but it can be range from 1 to any number.
    Use below PowerShell command to get the current Batch Size:
    Get-SPFarmConfig |
    Select WorkflowBatchSize
    Use below PowerShell command to set new Batch Size:
    Set-SPFarmConfig -WorkflowBatchSize
    200
    Time Out
    This decides the time out of the Workflow event. The default value is 5 and can be any integer. The time is in minute.
    Use below STSADM command to get the current Time Out value:
    stsadm -o getproperty -pn workflow-eventdelivery-timeout
    Use below STSADM command to get the current Time Out value:
    stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “15″
    Workflow Timer Interval
    This setting is applicable at Web Application level and not the farm level. The workflow timer interval specifies how often the workflow SPTimer job fires to process pending workflow tasks. This interval also represents the granularity of delay timers within
    your workflow. If a timer is set to delay for one minute, but the interval timer fires only every five minutes, the workflow delays for five minutes, not one minute.
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o getproperty -pn job-workflow -url <Web Application Url>
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o setproperty -pn job-workflow -pv “Every 10 minutes between 0 and 30″ -url <Web Application Url>
    Here is the url for reference :
    http://praveenkasireddy.wordpress.com/2013/06/14/workflow-due-to-heavy-load-the-latest-workflow-operation-has-been-queued-it-will-attempt-to-resume-at-a-later-time/

  • How to Get One MQ Message at a time from MQ Queue

    Hi,
    Before posting my query here is the configuration I am using:_
    Weblogic Server 10.3.3
    Soa Server 11.1.1.3.0
    Oracle JDeveloper 11.1.1.3.0
    Till now I have done the following things:_
    1) created an MQ Queue
    2) Producing MQ Messages in the Queue with the help of an Asynchronous BPEL process.
    I can see the message put in the Queue:
    What is my requirement?_
    1) I want to read (Get) only one of the above created MQ Messages in the main BPEL process(Synchronous), then needs to process it
    And based on my Business condition I have to write that message in the Database.
    After successful completion of this instance only my main process should go to consume the next message in the MQ queue.
    What is the problem I am facing?_
    1) The main BPEL process is not reading one message at a time. I.e. if there are 10 messages in the queue, then as soon as the main bpel process gets deployed, 10 instances created automatically, all in running status and Queue gets empty
    2) And if I explicitly test the process, the processes always go in running mode. I.e. Waiting for the messages at the receive activity (this receive is attached to the MQ adapter through operation Get in the main BPEl process)
    I just want to know how I can read the MQ messages one by one, though there may be n number of messages in the MQ queue
    And only after the completion of the first instance (of Reading First MQ message from queue) it would go to initiate the next instance and so on
    Would anyone please help me in this issue?
    Thanks
    Sunil

    Is the MQ Queue local or remote?

  • Error while dropping/creating new queue table

    Hi,
    I am trying to modify an existing AQ setup. In the process, I had to remove a queue and redirect all its subscriptions to another queue.
    I get an oracle "sequence does not exist" while trying to drop the queue table. The sequence of operations that I am carrying out is:
    disable propagation schedule
    unschedule propagation
    stop queue
    drop queue
    drop queue table
    The error occurs when the drop statement is executed.
    I tried restoring the existing configuration, but got the same error message while trying to add a subscription.
    Could you help me with this problem? What am I missing here?
    Thanks,
    Anupama

    In what version of Oracle?
    I see a couple of problems assuming you are working with a currently supported version:
    1. Never grant CONNECT to anyone: Ever. Grant CREATE SESSION.
    2. GRANT CREATE TABLE to AQ;
    Go to Morgan's Library at www.psoug.org and look at AQ Demo 1. You should have no problem cutting and pasting your way to where you are trying to go.

  • Have a 3rd gen nano, when I plug in  I get "Podcasts on this IPOD cannot be synced because all of the podcasts selected for syncing no longer exist." I have no podcasts in my IPOD or queued in library. Help pls. Thx

    Wnen I plug in my IPOD, I gret the error message " Podcasts on this IPOD cannot be synced because all of the podcasts selected for syncing no longer exist. I have no podcasts in my IPOD or queued in I tunes at pfresent. When I did try to sync a current podcast, nothing happened although the podcasts did show in my library. I did play around with podcasts several months ago, but just listened to them on the computer, the IPOD was plugged in at times though, although not set up...thx

    Click here and follow the instructions.
    (27971)

  • Laserjet 600 M602 Delete print queue

    Hi,
    I have deleted jobs from my computer's printer folder, yet they are still being held in the printer. When I restart the printer, the jobs start printing. I know how to delete them one at a time. The job starts, delete it, the next job starts, delete it; that gets old.
    How do I delete the entire queue on the printer?
    The instructions on the HP web site do not match the menu on the printer.

    Hi Openheader:
    This can sure be a frustrating problem, and understand your issue. There is a solution that I could recommend, but would need to know which operating system you are using since the solution steps might vary.
    Regards,
    FirstTimer01
    FirstTimer01
    I am an HP employee

Maybe you are looking for

  • Photoshop CS5 freezing on picture open...

    When i go to open a file in Photoshop CS5, the program freezes and goes to not responding.  When I run it as administrator it works fine. The problem is there are certain add-ons that were added to Photoshop that will not appear when running as admin

  • How do I move photo's to and from iphone.

    L.S. Hello everybody last time when i needed help i got some good response so I thought lets try that again. It seems(looking at other fora) I am Not the only person with this problem but so far I havn't found the solution. Here is my problem. When I

  • Still no cap lock

    I still have been unsuccessful in trying to troubleshoot this cap lock problem. I have tried resetting and restoring the phone with no luck. My cap lock feature has ceased to work. Does anyone have any suggestions? I called the support line and the t

  • I have duplicates appointments in my ical on my iphone.

    when i synced my iphone 4 it put duplicates in my ical on my phone. what's up. HELP!

  • Not signed in

    I am experiencing an issue where I try to update two applications, iMovie and iPhoto. The problem is when I try to download the updates, an error message comes up saying 'You have updates available for other accounts'. Weird thing is though, I have t