Workflow step executed mutliple times

Hi,
I have takena  copy of the standard PO release WF and added an email step so that once the PO released step has been actioned, and email is sent to the initiator informing them that the PO has been released and attaching the PO document.  The problem is that depending on the release code then multiple approvers need to release the PO, so this email step can be triggered multiple times.  So how do I configure the step to only release once all the approvers have completed their WF task?

Hello,
Check in SWEL if there's a particular event that gets created when a PO is finally released (perhaps RELEASED) and have a branch wait for that in the workflow. If it occurs, then send the email. If it doesn't occur (after a few minutes) then complete the workflow. That's just one way to do it.
regards
Rick Bakker
hanabi technology

Similar Messages

  • Workflow step not executed...

    Hi,
    In my workflow requirement (for VA01), I want to record the status in a custom table as follows;
    Approver id     date   time    status
    ABC                                     Submitted for approval
    ABC                                     Approved (or) Rejected
    So I have created a step called 'update custom status' after the step that sends email to the approver agent whose details stored in another custom table. Then I associated a task with this step which is bound to a custom class / method which has the logic to write the status to the custom table.
    The issue is I do not see this step excuted. I checked in the log.
    What can be wrong ?
    Workflow steps are as follows;
    1. Read the document's net value and store in a variable.
    2. Read the custom table for agents list to whom the doc has to be sent for approval.
    3. Send email for approval.
    4. update custom status.
    In the graphical view, I can see the update custom status step being called (Green link from previous step to this step) but after that no progress.
    Am I missing passing some values ? Or is this step not giving any results ? Whats happening ?
    Details on this update custom status step are as follows;
    A custom task with terminating event set as _WORKITEM defined. (not synchronous)
    A step of type activity defined and bound to the above task with binding done.. (what values should I pass to record the above needed details.)
    In other words, how can I record the status in my custom table ?
    thnks

    Hi
    I think its a background step. If yes, then make it foreground and debug and see what is the problem. Also check for short dumps and turn on the event trace and see the terminating event is getting triggered.
    Vinoth

  • Workflow step Mail with purchase order number is not executing

    Hi All,
    I created aworkflow which gets triggerd when a Purchase Order is created. I have mentioned the BUS 2012 event 'Release Step Created' as starting condition for the workflow. My workflow is triggering correclty. I need to send a mail to the initiator stating that the purchase order <po. no.> has been created. But I am not getting the PO number and workflow is stopping at the step mail where subject is mentioned with element &BUS2012.PURCHASEORDER&.
    If I didnot mention the PO number workflow is executing correclty. I have done all the necessary binding also.
    Thanks in advance,
    Sri Suktha.

    Hello,
    This can often be caused by not adding 'US' to the username, check if that's the case here.
    I would try creating a test workflow which does nothing but send a mail, try to get that working first.
    regards
    Rick Bakker
    hanabi technology

  • Workflow trf executing for longer time

    Hi All,
    Workflow trfc executing for longer time in transaction SM58. Why will this happen ? Is there any resolution available ? Please advise on this issue. Below are the details :
    Caller: WF-BATCH
    Function Module: SWW_WI_EXECUTE_INTERNAL_RFC
    Status Text: Transaction Executing
    Program: SAPMSSY1
    Kind Regards
    Shiva

    Hi,
    Check if WF-BATCH user is not locked or the pwd changed. The same as the process started, see the event trace if you are triggering any wflow from this. And CLick on the event and see the "REceiver Data" and "Trace Data" if any errors are there.
    Sometimes, if this user got locked for some reason, it results in issues like you mentioned.
    Hope this helps
    venu

  • MDG SLA time for each workflow step

    Hi Experts,
    As I know MDG calculates and report the SLA times for an entire process, It will show as violated if the number of days/half day  is exceeded since the creation, but it does not show in which step took more time to process.
    My requirement is to have SLA control in each step of a workflow. Please check the following example:
    Material creation that has 2 approval steps since it submission.
    Example: Submission (Requestor) -> Approval 1 (Business Area) -> Approval 2 (Master Data Specialist) -> Activation / Replication
    I need to know through a report how much time the Approval 1 took to process the Change request, How much time Approval 2 took to process the Change Request based on the priority set by the requestor.
    With this report the responsible from the Master Data department can check the time spent by the processors for each step of the process.
    Does anyone had a similiar requirement?
    What is the best approach to achieve this? Through standard SLA queries it is possible to have more information? Or only having an enhancement?
    I appreciate any help.
    Kind Regards,
    Fabiano

    Hello Fabiano ,
    We have also same requirement like .
    Submission (Requestor) -> Approval 1  -> Approval 2 ----------   ->Approval- N (Master Data Specialist) -> Activation.
    Can you plz share how to achieve this with : Any document for that plz share.
    As you mention :
    It uses the object type for example BUS2250 and the object key that is a concatenation with the CR number + an index, after that it obtain the "parent" workitem with the  SAP_WAPI_WORKITEMS_TO_OBJECT function module. After that it uses the  SAP_WAPI_GET_DEPENDENT_WIS and   SAP_WAPI_GET_WORKITEM_DETAIL functions.
    Thanks
    Nikhilesh

  • Call / trigger an ECC workflow step from PI ?

    Hi,
    For a flow "ext (file) -> PI -> ECC (workflow)", from PI, I need to run / execute / trigger () a workflow step in ECC, which already exist. I think that I can acheive this by creating an abap proxy in ECC in which I will call a Bapi or Method to run / execute / trigger () this workflow step. I don't know exactly how for the moment (in parallel I'm doing search about it), but that's not the matter.
    before to waste time by searching in this way, what's the best solution to call an ECC workflow step from PI ?
    Many thanks.
    Mickael
    (*) maybe I don't use the good terminology. Sorry.

    hi Shabarish,
    I'm confortable with web service, IDoc, RFC/bapi and abap proxy (and ...), but here, I prefer to use abap proxy (asynch + sxmb_moni in ecc) except if there is another better approach
    else as in PI we have ccBPM, so a workflow , as in ECC we have also workflow , does my approach (abap proxy & call method) is the good one ? or is there a better way between these two workflow tools: PI + ECC ? like a standard "workflow module" or a workflow "connexion" ? (I fear I know the answer but I would prefer to be sure),
    Note: I'm in PI 7.11 SP06 and ECC 6.0.
    Regards.
    Mickael

  • Check/uncheck record results on more than one step at a time

    I have one hundred plus sequence files and several thousand steps total. Checking and un-checking record results one step at a time takes a long time. I'd like to be able to select several steps at a time then check or un check the "Record Results" option for all those steps at once. How do I do this? I'm using TestStand 2.0

    Hi Kevin,
    Thanks for contacting National Instruments.
    Do you want to disable result recording for ALL sequences on this station? If so, you can turn on this option in the TestStand sequence editor (Configure >> Station Options, turn ON checkbox "Disable result recording for all sequences").
    However, if you only want to do this for selected sequence files, then Ray is correct - you would need to write an external routine that will automate this for you. Attached is a zipfile containing a VBScript that will iterate through one sequence file ("c:\test.seq") and change all steps (all sequences, including Main/Setup/Cleanup) to turn off "Record Results". It first saves a backup copy of the sequence file, makes the changes, then save
    s the modified sequence file. You can enhance this script to work for more than one sequence file by using Microsoft's FileSystemObject.
    The VBScript uses a DLL I created, which exposes the TestStand 2.0 Engine object as an ActiveX DLL. Before you can run the VBScript, you will need to register this DLL:
    regsvr32 TSEngine.dll
    Then, the VBScript can be executed just by double-clicking it. Hopefully this helps get you started toward creating an automated way of solving this problem!
    David Mc.
    National Instruments
    Attachments:
    ts2seqfiles.zip ‏4 KB

  • Action is executing multiple times

    Hi Experts,
    I am using an action for a service transaction in which a method is called APPROVE_RFC_VIA_WF - the method triggers a workflow, but the action runs multiple (6) times, 6 workflow items are created and 6 emails are triggered likewise.
    I restricted the action to only one executable/successful action and it works ! Only 1 email and 1 workflow item is created, but then the workflow item is not executed !
    Please I need help on this, thnx.
    Regards.

    Another action definition was restricted to execute 5 times which was somehow effecting the workflow action definition
    Adjustments were made to both definitions so that both would give correct results.
    Regards.

  • Ucm: displaying some fields on a profile based on a workflow step

    Hi,
    Is it possible to hide/display some standard/custom metadata fields on a profile based on a workflow step/
    e.g. I am having a workflow with 3 steps
    1. manager step
    2. specialist step
    3. reviewer step
    On the 3 step, a reviewer can decide calling an adhoc workflow if he updates some custom metadata fields(adhoc rev1, adhoc rev2). My requirement: Is it possible to show the custom metadata fields only to reviewer on updating the content item. It should not get displayed while checkin the content item or any other step users update the content item.
    thanks

    I had a similar question some times ago - see this thread: Value of dpAction
    Yes, you can do it, but you will have to define rule activation conditions properly - using dpAction and dWfCurrentStepID.

  • Workflow step skipped while execution

    Hello Friends,
    I have an issue with a custom workflow. it has 2 levels of approval , the first level has executed successfully and the second level of approval ( which is a sub workflow ) has been just skipped.
    i see that the graphical workflow just skipped the step and proceeded with the subsequent steps.
    the issue is with the document alone and am not able to replicate the same error.
    both the workflow templates havent been changes lately.
    any clues why this happens ?
    thanks,
    Raghu V

    hello Friends,
    thanks for the inputs ,  i thought i could ignore this issue , but unable to do as we have fresh cases.
    this is a custom workflow which has 2 sub workflows ( 1 for level 1 approval and another for level 2 approval  ) .
    I see that level approval sub workflow has executed fine , but the level 2 sub workflow has just been skipped .
    i can see the skip in the graphic log and also in the technical log  - I see that the step/nodes corresponding to the 2nd subworkflow is not present at all  .
    I also verified the none of these workflow are modified recently ,
    Any clues, Do help me.
    thanks.
    Raghu V

  • Workflow step approval via e-mail

    Hi Experts,
    I have a question related SAP BI workflow,
    Is there any possibility to approve a workflow step via e-mail?
    I mean I have a specific step what needs approval, can I prepare this approval step via e-mail? (not the built-in SAP mailbox)
    Thank you in advance
    Peter

    Hi,
    as far as I remember there was once a tool called MAPI or MAPI-Interface. The workflow guys used this to display workflow items in outlook. When you started the workitem in outlook the system did log you in and you could execute the workitem. Please consult the workflow guys for more details.
    Regards Matthias

  • Create Index Step taking long time

    I have a create index step in process chain for a infocube. The Create Index step is takes more time. The requests in this cube are rolled up and compressed. The batch process are also avaliable. But still the create index step takes more time. Any suggestions to reduce the time of create index step?

    Hi,
    If you have more Data in Cube then it will take some time..check any Dumps in ST22 and SM21. Ask Basis Team any Error messages in DB02 and check.
    Else goto to RSRV
    Tests in Transaction RSRV --> Database --> Database Indices of an InfoCube and Its Aggregates
    Give Cube name and execute it and see the errors then if any RED color, ckick on Repaire Icon and see.
    Thanks
    Reddy

  • Unload Option (After Step Executes) All subseq steps?

    We have a large number of tests written in TestStand 2010 which, when we run multiple tests, the response from TestStand slows dramatically.  This slowing is most noticable where there are time dependent:
      Time = 0
      WaitTime = 2
        Verify Parameter(X) = Off
        Verify Parameter(Y) = Off
        Verify Parameter(Z) = Off
      WaitTime = 4   FAILS
    When run by itself, the test passes, but when run overnight (or several days), where a large number of tests have been run before this, the test Fails, where the WaitTime has expired.  Multiple tests are typically called, using another "Main" to call the different tests.  1500 to 2000 steps in each test sequence file is typical.
    Basically, as more test are run, test execution slows more and more.  It appears that TestStand is using up system resources (memory).
    All Reporting is OFF (Configure/ReportOptions "Disable Report Generation" is checked
                                   (Configure/ModelOptions "Discard Results or Disable Resutls when not required by Model" is checked.)  (doesn't matter since reporting is off)
    I don't think that it's the reporting that is using the resources.
    I'm suspecting the sequences are not being unloaded after exectuion and using up memory, so that eventually memory is swapped to disk (my computer has 3 GB memory, this is typical for the other systems as well).
    Three Questions:
    1.  I'm investigating TestStand's cache of steps that have been executed.
    In the Step "Run Options" is the "Unload Option".
    Typically we have a "Main" that calls a large number of subsequences, each is an individual test case.
        Can I change the "Unload Option" for these subsequence calls (in the "Main" sequence only) to "Unload after step executes"?  Will this unload all steps that were call recursively to free up the system resources that were used by the subsequence call and down (recursively)?  Or will it just unload THIS step?
    2. I'm aware that there is a "New Execution" that can be used (when complete, unloads all steps), but this doesn't allow passing Parameters to the subsequence easily.
      However, could I use "New Execution" for all those subsequence calls that do NOT require arguments.
    3. Is there another option that I can use to free up system resources more globally?
    Mike

    Mike,
    even though you have switched off the report generation, Teststand is still recording all the results of steps which are set to Record. Therefore you will be filling up the ResultList variable, which usually the cause of TestStand slowing down after longs runs.
    If you dont need to record this data then switch it off in the Configure | StationOptions.. select the Execution Tab. Enable " Disable Result Recording for All Sequences"
    Regards
    Ray Farmer

  • Turning off the default outcome in workflow step

    Hi,
    In a workflow step, I linked a method xxx, in method xxx I have coded 2 outcomes, when i use this method in my step I am getting a default outcome "Step executed" outcome in addition to the outcomes already coded in the method. so instead of 2 outcomes i get 3 outcomes, i am not able to turn off the default outcome. is their anyway working around this problem? please help.
    Regards
    Narendiran Rathinavelu

    Hi,
    Can you be more specific when you say "overwrite" i went to the tab outcomes and try deactivating it, but it is not allowing me to, please help.
    Regards
    Naren

  • Custom pages at each workflow step in UCM

    How can I link custom pages (say JSP pages) with a workflow step in UCM? Suppose I've a workflow with a reviewer and approver and I want to get some field values at each step, how can I do so? Currently, the only option I get is Approve/Reject links at each step.

    so suppose you create an HCST page (see Bex's book if any of you reading aren't sure what those are) and check it into the content server.
    You will need to reference it from the workflow in queue page or the emails that get sent out to the step reviewers (or both).
    I suspect that in addition to calling the page (via URL) you would also pass some information on the URL like the content ID of the item being reviewed in workflow, the workflow step, etc. That information will be available already on the page you are navigating from.
    Then your hcst looks and functions like any other template page. It has the information from the URL params that it can use as inputs for additional queries or services that you're executing. There are some examples of basic HCSTs in the book and in the Dynamic Server Pages guide here:
    http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/dynamic_server_pages_10en.pdf

Maybe you are looking for

  • Unresolved Webapp Library refereces

    I am getting following Error while deploying the application in weblogic portal 10, we are using weblogic portal 10 wps-toolSupport.war in our application. this error is coming from weblogic.xml of wps-toolSupport.war <Jun 10, 2010 11:40:07 AM EDT> <

  • Itunes won't sync music to my Iphone 5C

    Okay so I've been reading what everyone has said to do when itunes won't sync to your phone and I've tried EVERYTHING!!! My phone still isn't syncing. I have a Toshiba laptop which has windows 8 & I don't know what else to do. Please someone help me.

  • Can I use my I Mac monitor with a mini mac?

    Can I use my I Mac monitor with a Mac Mini?

  • Cannot find the field for the Contact Role in Contact object.

    Hi, friends, I need to set Contact Role when creating new Account and Contact. I tried the following tests but cannot figure it out: 1. Create new Account and then new Contact, set the AccountContactRole in Account WSDL as "Main" but failed to set th

  • If I buy Photoshop (Cs5), is Bridge included in it? And what about Lightroom?

    I'm not new to using Photoshop, Bridge or Lightroom (version  CS3) however the original installation of these programs when I had them was not done by me (my pc crashed) so I am not sure which products have to be bought on the site. i.e do i have to