Agent in Loop step

Hi all,
    I have a workflow with a Loop. In the loop there is only one activity. The first time my workflow run into the loop, there are several agents receive the work item. I choose USER1 to execute the workitem and keep the condition to let the loop continue. Then I found only USER1 have workitem now, other agents do not have work item anymore. Is this the normal situation for a LOOP? Or is there some mistake in my configuration?
    Thanks all~~

As Karri said you should check that option.
I think your requirement is that the workitem needs to be approved by all aprovers. In this case you can use dynamic aparllel processing. Just create multiline container element that stores the approver and mention this in the Miscallenious ta of the activity step.Then you need to bind the ParForEach index from workflow to task and this will create individually workitem for each user.
Using the current design you can keep the user who approved in the excluded agent list of the activity step. For this store the WI_ACTUAL Agent from task to wflow and use this in your activity step.
Thanks
Arghadip

Similar Messages

  • Sync send step in a loop step

    Hi Gurus,
    I want to query a database and based on the return value I will proceed to the next step. For this I have a 'sync send' step where I am finding if the count(*) is 0 or greater than 0. If it is only '0' then only I will proceed to the next step.
    For this functionality I am using a loop step with in which I have this sync send step (querying the database). The control will come out of the loop only when the count is 0.
    But, I found that the response message container is not loading. That is the reason why the loop condition is always coming out as 'true'.
    I want to know if I can use the send step with in a loop in BPM.
    Please let me know your solutions.
    Thanks
    Kalyan

    Hi,
    see the counter variable , initial value is 0 ,then the loop always true.
    second thing is when you send the request for synchronously and the response message to receive step, is it correct,
    if so why do you want to maintain the loop, are more messages sending the messages in seqencially /syncrounously .
    I think you want to check the response interface value is it , check this correctly..
    See the below links for Sync Send .
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards
    Chilla

  • Should the condition in the loop step

    Should the condition in the loop step in the integration process(BPM) be = or not= ?I need to do the following>>perform certain operation only when the container value is less than 3 Else then get out of the loop.
    Regards,
    Mansi

    The loop step in ccBPM implements a while loop.
    So, while count not = 3, it will be executed.
    Once the counter reachs 3, the loop will be terminated.
    Regards,
    Henrique.

  • Agent determination for step 0000000081 failed error in workflow

    Hello All,
         I am doing employment verification from ESS portal. In the workflow step I have selected RULE to determine the agent. To configure rule, I double click on rule, on next screen selected "Agent determination - responsibilties" to determine the agent. I configured responsibilties with the valid value ranges and everything but the workflow is going into error! I did research and not sure what I am doing wrong. I checked the workflow container in workflow log and all the values that are supposed to pass to rule container are showing up fine.I keep getting the error:
    Agent determination for step 0000000081 failed
    Result og agent resolution does not agree with agents of task.
    Any feedback you could provide would be greatly appreciated.
    Thanks.
    Mithun

    1. In Transaction PFTC, select Task Type = Standard Task and Task = 01000076
    2. display the task details.
    3. Now go to Additional data ->Agents Assignment->Maintain
    4. Select the task here and click Attributes in the application tool bar.
    5. Select the General Task radio button and hit transfer.
    -- You have made your task general.
    To Synchronise the runtime buffer ,simply excute T-Code SWU_OBUF and hit the Start Synchronization button.

  • Loop step creating more than 1 workitem in PO release wf

    Dear Experts,
    I am using copy of std workflow ws20000075. I have three release codes (three approvers - L1, L2, L3). So i added a loop step in my workflow that is until bus2012.releaseindicator = 'R' the loop will iterate. Now problem is that for first level i am getting one workitem for his release. In L2 level i am getting 2 workitems for same PO. In L3 level i am getting 3 workitems in inbox for his release.   I have in tcode SWEL. There instead of single RELEASED event for BUS2012 there are 3 entries for a single approver level. This is SWEL output i get for L2 approver level.
    BUS2012   RELEASED 13.08.2009     17:16:03     WORKITEM     SWW_WI_COMP_EVENT_RECEIVE (First record)
    BUS2012      RELEASED  13.08.2009     17:16:03     WORKITEM     Check FM with exception (Second record)
    BUS2012      RELEASED  13.08.2009     17:16:03     WORKITEM     Check FM with exception (Third record)
    But except first record i am getting error that is red indicator in second and third records. I am getting the desired output anyhow that is PO gets released at all three levels successfully but why more than one workitem is generated for a single approver. Kindly help me in this regard.

    Dear kakholi,
    Thanks a lot for your reply. I went to the following path Olme(Tcode) -> Goto Purchase order -> release procedure for purchase order -> define release procedure. There for three levels of release codes L1 - creator, L2 - Checker , L3 - approver.
    I have given below settings in under each button.
    Release Prerequisite : There are six checkbox. three on top right and three on bottom left. All three boxes in bottom left are checked.
    Release Statuses: There are four rows with three check box in each row. First row no box is checked. Second row L1 is checked. Third row L1, L2 are checked. Fourth row L1,L2,L3 are checked. In input help for release indicator first three are set as B and last one is set as R.
    Classification: When i click this i am getting message as Error in classification (class Z_RFQ class type 032).
    Release Simulation: Release Group input is set as PO (PO release) and release strategy input is set as 02 (PO Release strategy),Release ID is set as B.
    Regards,
    S Bharath

  • Best practices for logging results from Looped steps

    Hi all
    I would like to start a discussion  to document best practices for logging results (to reports and databases) from Looped Steps 
    As an application example - let's say you are developing a test for one of NI's analog input or output cards and need to measure a voltage across multiple inputs or outputs.
    One way to do that would be to create a sequence that switches the appropriate signals and performs a "Voltage Measurement" test in a loop.    
    What are your techniques for keeping track of the individual measurements so that they can be traced to the individual signal paths that are being measured?
    I have used a variety of techniques such as
    i )creating a custom step type that generates unique identifiers for each iteration of the loop.    This required some customization to the results processing . Also the sequence developer had to include code to ensure that a unique identifier was generated for each iteration
    ii) Adding an input parameter to the test function/vi, passing loop iteration to it and adding this to Additional results parameters to log.   

    I have attached a simple example (LV 2012 and TS 2012) that includes steps inside a loop structure as well as a looped test.
    If you enable both database and report generation, you will see the following:
    1)  The numeric limit test in the for loop always generates the same name in the report and database which makes it difficult to determine the result of a particular iteration
    2) The Max voltage test report includes the paramater as an additional result but the database does not include any differentiating information
    3) The Looped Limit test generates both uniques reports and database entries - you can easily see what the result for each iteration is.   
    As mentioned, I am seeking to start a discussion for how others handle results for steps inside loops.    The only way I have been able to accomplish a result similar to that of the Looped step (unique results and database entry for each iteration of the loop) is to modify the process model results processing.  
    Attachments:
    test.vi ‏27 KB
    Sequence File 2.seq ‏9 KB

  • Error in Agent Configuration assitant Step in OUI

    Hi , it always fail at the same place can you help me ?
    Here is the ..../oraInventory/logs/installActions2009-04-02_09-08-47-AM.log thath I have
    INFO: Configuration assistant "OMS Configuration" succeeded
    INFO: Command = oracle.sysman.emcp.agent.AgentPlugIn
    Performing free port detection on host=picasso
    Securing the agent
    Performing targets discovery and agent configuration
    Command = oracle.sysman.emcp.agent.AgentPlugIn has failed
    Exception : java.lang.Exception: 6
    INFO: Configuration assistant "Agent Configuration Assistant" failed
    *** Starting OUICA ***
    Oracle Home set to /oracle/OracleHomes/agent10g
    Configuration directory is set to /oracle/OracleHomes/agent10g/cfgtoollogs. All xml files under the directory will be processed
    INFO: The "/oracle/OracleHomes/agent10g/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were c
    ancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwo
    rds (if any) before executing the same.
    INFO: Since the option is to overwrite the existing /oracle/OracleHomes/agent10g/cfgtoollogs/configToolFailedCommands file, backing it up
    INFO: The backed up file name is /oracle/OracleHomes/agent10g/cfgtoollogs/configToolFailedCommands.bak.3
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this
    time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    INFO: User Selected: Yes/OK

    "CfmLogger_2009-04-07_11-10-42-AM.log" 32 lines, 2851 characters
    INFO: Creating new CFM connection
    INFO: Creating a new logger for oracle.sysman.top.agent
    INFO: Unmarshalling /oracle/OracleHomes/agent10g/inventory/ContentsXML/ConfigXML/oracle.sysman.top.agent.10_2_0_1_0.xml
    INFO: Creating a new logger for OuiConfigVariables
    INFO: Unmarshalling /oracle/OracleHomes/agent10g/inventory/ContentsXML/ConfigXML/OuiConfigVariables.1_0_0_0_0.xml
    INFO: Aggregate Description oracle.sysman.top.agent:10.2.0.1.0:common successfully loaded
    INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
    INFO: Successfully returning from CfmFactory.connect()
    INFO: Cfm.save() was called
    INFO: Cfm.save(): 2 aggregate instances saved
    INFO: oracle.sysman.top.agent:IAction.perform() was called on {Action state:configuration in CfmAggregateInstance: oracle.sysman.top.agent:10.
    2.0.1.0:common:family=CFM:oh=/oracle/OracleHomes/agent10g:label=8}
    INFO: Framework waiting for Action to complete at 11:11:10.814
    INFO: CfwProgressMonitor:actionProgress:About to perform Action=configuration Status=is running with ActionStep=1 stepIndex=1 microStep=0
    WARNING: Unexpected value for property os.name=SunOS; using "env" to retrieve environment variables
    INFO: oracle.sysman.top.agent:About to execute plug-in Agent Configuration Assistant
    INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant is running
    INFO: oracle.sysman.top.agent:Internal PlugIn Class: oracle.sysman.emcp.agent.AgentPlugIn
    INFO: oracle.sysman.top.agent:Classpath = /oracle/OracleHomes/agent10g/jlib/srvm.jar:/oracle/OracleHomes/agent10g/jlib/srvmhas.jar:/oracle/Ora
    cleHomes/agent10g/oui/jlib/srvm.jar:/oracle/OracleHomes/agent10g/sysman/jlib/agentPlug.jar:/oracle/OracleHomes/agent10g/jlib/emConfigInstall.j
    ar:/oracle/OracleHomes/agent10g/sysman/jlib/emagentSDK.jar
    INFO: Error reading file /oracle9i/ora9i2/sysman/config/emd.properties
    INFO: oracle.sysman.top.agent:Internal PlugIn for {Micro Step state:step:1:configuration in CfmAggregateInstance: oracle.sysman.top.agent:10.2
    .0.1.0:common:family=CFM:oh=/oracle/OracleHomes/agent10g:label=8} failed with an unhandled exception:
    java.lang.Exception: 8
    at oracle.sysman.emcp.agent.AgentPlugIn.startProcessing(AgentPlugIn.java:242)
    at oracle.sysman.emcp.agent.AgentPlugIn.invoke(AgentPlugIn.java:217)
    at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:509)
    at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:121)
    at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
    at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)
    INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
    INFO: Cfm.save() was called
    INFO: Cfm.save(): 2 aggregate instances saved
    INFO: done waiting for Action from 11:11:10.814

  • Teststand XML Translator For LOOP Step

    HI, I'm trying to write an XML translator usinc the C++ example. So far I made work "if" , "while" , "end" and i'm trying to make the "for" loop working as well but i have a issue when i insert the dataProperty.
    The XML code i wrote id the following :
    <Data dataProperty="InitializationExpr" type = "string"> <Value>"Locals = 0"</Value> </Data><Data dataProperty="ConditionExpr" type = "string"> <Value>"Locals &lt; 10"</Value> </Data><Data dataProperty="IncrementExpr" type = "string"> <Value>"Locals += 1"</Value> </Data> 
    so the issie is that is i use the " " it works in the PropertyBrowser window but not in the For Loop window and if i dont use the " " is the opposite.
    I even tried to change the property CustomLoop followinf the same syntax but it doesnt work:
    <Data dataProperty="CustomLoop" type = "bool"> <Value>true</Value> </Data> 
    can anybosy help me with this?
    thank you
    Luca

    If I use Locals.X == 10 it gives me an error in the Number of Loop field in the For Loop window. What i really would like to know is how to set the properties for every step because beside few of them that i can set with dataProperty="ConditionExpr" or dataProperty="TitleExpr" i dont know how to set the other ones.
    For istance if i want to have a Sequence Call (I already wrote code so to have more then one Sequence) in a Sequence that calls another one i can have code like this:
    <Sequence name="MainSequence">
    <Step name="CallSeq2" type="SeqCall">
    </Step>
    </Sequence>
    <Sequence name="MainSequence2">
    </Sequence>
    now I dont know how to pass values to the step so to fill the File Pathname and Sequence fields in the Module window can I use dataProperty? and in cas I can what is the Sintax?
    thank you
    Luca

  • Route call to Agent before Accept step

    Hi all,
    our customer has the following requirement:
    If a call comes in and there is an available agent, the caller should hear normal ringback until the call is answered- no announcements, no hold music.
    Only if the call is queued, announcements and hold music should be played.
    I tried to put the "Accept" under the "queued" branch of the select resource step. This does not work, the call is dopped when it goes to the agent phone.
    As far as I understand it, the Accept step must happen before the select resource step or connect step.
    Any ideas if this requirement can be fulfilled using UCCX 8.5?
    Thanks in advance
    Jörg

    Why don't you just put all the logic (announcements, etc) into the Queued
    branch then? It should accomplish the same thing. Call is accepted and
    immediately routed to an agent, if none are available then you begin
    planning your messages and what not.

  • Check condition in Loop step in BPM

    Hi All,
      Need urgent help... I have to specify the condition in loop in such away I need to receive and bundle IDOC1 till I get IDOC2.  Please let me know how to specify the condtion in loop.
    Thank you in advance
    Regards,
    Dhill.

    HI
    See the below link
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change - IDOC bundling
    Also we have Collection of messages based on the message a pattern in SAP BASIS see the BpmPatternCollectMessage and check for correct IP config..
    Regards
    Chilla

  • NAC Agent Installation "loop"

    Hello Guys, me again
    I'm seeing an issue when the client tries to install the NAC agent on his PC.
    The client reports that an update is available for which I click OK, then it appears to download the new agent (really fast btw) and then it starts installing it. Once that's done it reports again that an update is available and the process starts all over and keeps going on indefinetely.
    The only way I managed to get around it was by disabling the "upgrade mandatory" setting on the client provisioning policy. Still I get the "an upgrade is available" message only that with that setting disabled I can hit cancel and continue.
    Another thing that I'm seeing is that client that I'm seeing as installed on the client is 4.9.0.36 but the ISE only has 4.9.0.37 so I dont know where the .36 is coming from if nothing has been previously installed on the client.
    Has anybody else run into this issue before?
    Thanks in advance,
    Luis Raga

    I'm getting the same issue. I have agents running version 4.7.2.10 and the new version that they are being prompted to install is version 4.9.2.8. The install starts and seems to complete, but when the NAC agent restarts the user is prompted to reinstall the new agent. When you check the version of the NAC installed it is still 4.7.2.10.
    Sachin

  • Error in resolution of rule ... for step - Agent determination for failed

    Dear Experts,
    in SRM 7.0 CS, i have come accross the following workflow error:
    I have extended my existing organizational plan for a new site (new CoCo, Plant, Purch Org and Purch Gr). But when i use my test users with this site, i receive a workflow error, that has the following wording in SWI2_DIAG:
    Error handling for work item 000000055347
    No links corresponding to the specified data could be determined
    Error in resolution of rule 'AC40000138' for step '0000000293'
    Agent determination for step '0000000293' failed
    Error during result processing of work item 000000055357
    Error when processing node '0000000293' (ParForEach index 000000)
    Error when creating a component of type 'Step'
    Error when creating a work item
    Error when processing node '0000000293' (ParForEach index 000000)
    Work item 000000055356: Object FLOWITEM method EXECUTE cannot be executed
    Error handling for work item 000000055355
    Can you maybe help me understand, what this error means and how to resolve it?
    Thank you very much!
    P.S. my test users work fine if i drag them to another location in my organizational plan. And also if i take other test user from locations where everything works fine and drag them to this "problem" location, than the same workflow error occures.

    Remove the user from the PPOMA node and add him again.. Sometimes this will solve the issue..
    Thanks!!
    Bharath

  • How to detect the final loop iteration of a step in a PostStep Engine Callback?

    I see the need to use a PostStep Engine Callback and look at the Step.Result container of the caller.
    My issue: If the caller is configured to loop, the PostStep Engine CB executes with each iteration and I do not see how to detect the final iteration (which is the only iteration I am interested in).
    Ideas are welcome. Thanks in advance,
    Guenter

    Guenter,
    well, the way i discripted IS the generic way. The reason for this is the following:
    You can compare TestStand very well with procedural programming languages. So you have variables with different lifetimes and scope. RunState is one variable, which is available in every scope, but it may have different content.
    So you leaving the execution of your clientsequence in order to call the callback, you leave the scope of the RunState from your clientsequence. But only there the information is stored on how many iterations are left. It does not make sense to pass this anywhere, since the execution of your clientsequence has to decide if to loop further or not.
    But, please note that there are different scopes for the "disable result recording" as well. You have found the most global one, the station option. But you can as well set this in the sequence settings (Edit >> Sequence Properties >> Disable Result Recording for All Steps) and at step-level (Run Options >> Record Result {uncheck it}).
    Looping on a single step using the step settings, you can additionally choose not to record results for each iteration. This will lead to only a single entry in the ResultList, the overall result of the looped step (if resultcollection is enabled of course!).
    hope this helps,
    Norbert 
    Message Edited by Norbert B on 08-22-2008 02:10 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to determine dialog step agent in report

    Hi
    I have to create a customize report of workflow status Like SWI1. problem is all the data is available in table SWWWIHEAD
    but the record of the step which have to execute have empty field WI_Agent . as soon as the agent will execute it . this field will be populated.
    I need the agent of that step/ record.  In SWI1 out put if we click on the log and then click on the agent button it shows generic decision task and shows the agent below that.

    HI
    To get the uerid which in waiting state you can use this FM SAP_WAPI_DISPLAY_WORKITEM. Search with SAP_WAPI_* you will get lot of FM which can be used for your requirment.
    Regards
    Vijay

  • Error in resolution of rule ... for step - Agent determination failed

    Dear All,
    In SRM 7.0 CS, i am having a problem in the area of work flow. In general, the workflow is working fine, but at times the work item does not get delivered to the approver.
    As per the analysis from SWI2_DIAG, the error is the following for the concerned shopping carts:
    Error handling for work item 000000056146
    No links corresponding to the specified data could be determined
    Error in resolution of rule 'AC40000138' for step '0000000293'
    Agent determination for step '0000000293' failed
    Error during result processing of work item 000000056156
    Error when processing node '0000000293' (ParForEach index 000000)
    Error when creating a component of type 'Step'
    Error when creating a work item
    Error when processing node '0000000293' (ParForEach index 000000)
    Work item 000000056155: Object FLOWITEM method EXECUTE cannot be executed
    Error handling for work item 000000056154
    Error when processing node '0000000293' (ParForEach index 000000)
    Does anyone have an idea on the root cause of this error?
    Thank you very much.

    Hi Masa,
    thank you very much for the reply.
    Yes, rolewise the approver is having the manager role in SRM and also on the portal. But what do you mean by "manager position in PPOSA_BBP"?
    The user is hanging in his node together with the other users. Is there any specific "manager position", where the approvers have to be put in PPOMA? I mean, the other approvers, for whom the workflow is working normal, are hangig in their nodes just like the approver who is not getting the work item.
    Moreover, if i drag the users (the requestor and the approver) into an other node (for another plant of another company code for example), than the work flow is working fine.
    Can there be any other reason for such an error?
    Thank you very much.

Maybe you are looking for

  • How can I use my external hard drive for my iphoto instead of my mac book pro memory?

    i don't know if this question has been asked before: how can I use my external hard drive for my iphoto instead of my mac book pro memory? just like itunes all my song are save on my external hard drive. make sense?

  • Video conference on AIM from Mac to PC?

    hey guys, i just bought a macbook pro and it came with an installed camera at the top. one of my friends has a PC and has a webcam for it. i want to have a video conference with her over aim but it doesnt work properly. she has aim 6.0 and i dont kno

  • I'm looking for a media manager outside of fcpx, any good ones?

    I would like to meta tag and properly organize and categorize all my clips so I can find things under separate searches. Any software available for mac? I know FCPX can do this but I want something outside of FCPX. Thank you.

  • Problem with ListSelectionListener

    I'm having a problem with my ListSelectionListener. I had it as part of my Scheduler class //from old scheduler class             schedulerTable.setSelectionMode( ListSelectionModel.SINGLE_SELECTION );             ListSelectionModel rowSM = scheduler

  • Currency issue in bex

    hi all, i have a field int eh cube with two currencies --USD & EUR. when i execute a query on the cube  its showing only one currency of teh field ..........the other currency is displayed as  ' * '.can anyone give the solution how to make available