Duplicated workflows  for fast triggering event from CRM

Hello,
I'm facing an issue when a credit limit sales order is created in CRM.
They are creating the order and manking a change to it 5 seconds later. Those created and changed events are triggered with a difference of 5 seconds and in background, the first WF is triggered (with the created event) and 5 seconds later other instance of that WF is triggered (with the changed event).
The problem is that the first WF is not being logically deleted when the seconds one is created (it has a wait step at the beggining of the WF to end in case another instancer of the WF is triggered).
This is caused by a perfoirmance issue that when the seconds WF is triggered, the first one is still not listening to the changed event.
Do you know if there's any way to solve this?
Thanks!

Hi MatiasAZ,
In the first workflow(created) check the event. It should be the 'changed' event and proper binding should be there.
If everything is fine, after the wait for event create a process control with the option as 'Complete workflow'.
Initially your workflow should have the fork step type with two branches. Maintain the changed event wait step in one branch and created events step in other branch. So that the workflow will wait for 'Changed' event and workflow will be completed if the 'Changed' event occurs in the system.
Thanks,
Viji.

Similar Messages

  • Triggering event from for-each

    Hi,
    I have a process that takes long to execute, I want to be
    able to send a progress notification to the user with the hope of
    not getting him bored or impatient, for some reason I can't achieve
    it and I don't know where to go for help, if you know how to solve
    this, any help will be greatly appreciated.
    I have some code like this:
    <code in mxml for my application>
    - component declared .. onXEvent="showProgress()"
    - script for showProgress calls refresh for ProgressBar
    Component
    </code in mxml for my application>
    <code for my component>
    for each (var myObject:xObject in MyCollectionOfMyObjects)
    // do some complex logic and calls methods for this item
    // creates and triggers event for progress notification
    </code for my component>
    I would expect to see my ProgressBar advancing as the process
    is completed, but for some reason the process seems to take control
    of the execution and no onProgressEvent is fired until the foreach
    finishes execution. It will run perfectly in the debugger (step by
    step) but it doesn't work at runtime.
    Is there any way I can achieve this in Flex?? Is there any
    event class I can use to solve this issue?
    maybe anyone has done this before or knows a link to more
    information on this subject?
    Thanks in advance
    William Vega
    MCSD / Beginner Flex Developer

    Flash functions execute within a frame. They finish before
    any UI rendering is done. You will have to use callLater , somehow,
    within your loop to give the UI a chance to draw.. There is a more
    detailed answer to this thread somewhere else.
    Tracy

  • Workflow for training and event management

    Hi,
    I have to develope a workflow regarding event type prebooking whic will be pre-booked thru pv02 , now my requirement is to send a workitem text  to manager ess account  who will appprove or reject this event type.
    After approval it shud make updation in database but not in the case of   rejection .After that Manager preebook a event for those who are alredy approved for the same event type and after event booking it shud also update the attendance table or infotype . 
    Thanks .

    Hi,
    Set the Values to the Business Object container
    SWC_SET_ELEMENT CONTAINER   'profit'  profit.
    Read the Values in the attribute
    swc_get_property SELF 'TravelerName'  Lv_traveller
    Also refer this [Link|https://wiki.sdn.sap.com/wiki/x/moOmAw]
    Regards,
    Surjith
    Edited by: surjith kumar on Mar 26, 2009 9:45 AM

  • Workflow for moving photos/videos from iPhoto to LR

    I used to use iPhoto, but have switched to LR. I'd like to move all the images/videos I have in iPhoto to LightRoom.
    What is the workflow for making this move?
    thanks
    Greg

    You can't run an iPhoto Library from a NAS. iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, saving edits and sharing the photos.
    You can't convert a Managed Library to a Referenced Library (see below for definitions of managed and referenced) with iPhoto - and you probably shouldn't anyway, especially when the masters are on one volume and the library on another. See
    https://discussions.apple.com/thread/3062728?tstart=0
    for more on why.
    With Aperture, you can easily have the Masters on one volume and the Library on another, and you can convert the Library from Managed to Referenced easily.
    However, if you di any editing your planned set up will not work. Both iPhoto and Aperture will never edit your original file. All processing in these apps is virtual. So, if you fix red-eye for instance, the image in iPhoto/Aperture will have the red-eye fixed. But the image on the NAS will be your original file, with the red-eye. So any device that accesses the images directly from the NAS will have he original image, not the processed one.
    Is that what you want?
    Regards
    TD
    Definitions:
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management. 

  • SSO for Transaction Launcher functionality from CRM

    Hi,
    How can Single Sign-on be enabled when launching R/3 Transactions from SAP CRM? On R/3 system we have integrated ITS.
    SSO is working properly for Action Box functionalty from WinClient for same R/3 box from SAP CRM system.
    Thanks in advance and regards,
    Asheesh

    check out this weblog
    <a href="https://weblogs.sdn.sap.com/pub/wlg/738">Updated!: Calling a BSP application from a SAPGui Transaction</a>
    particularly the Single Sign On of the weblog.
    The solution offered will work only if the BSP is called within a HTML control in SAP GUI, you may need to change the logic of using the call_browser
    Regards
    Raja

  • How to update a Z-table in ECC for the data coming from CRM

    Hi Experts,
    I need to store the industry code and description from customer master from CRM into a Z-table in ECC.I have checked the BDOC segments is already there in CRM.This Z-table has to be updated each time when the user save the customer master.This Z-table will be non editable in ECC.
    Thanks in advance.
    Regards,
    Sumit

    Hello,
    Do you synchronize CRM business partner with ECC business partner?
    Because in standard industry code & description are replicated between both objects... so I don't really understand what you try to do.
    Anyway, if you would like to save some information in a Z table each time a business partner gets replicated into ECC, you can register a function module in table COM_BUPA_CALL_FU on ECC to do the job.
    Kind regards,
    Nicolas Busson.

  • Standard workflow for SO approval process in CRM

    Hi all
    I would like to know if there is any standard workflow for Sales order approval process. I have tried my best and couldnt come across any.
    And also what is the commonly used approval process?
    Thanks & Regards
    Mui Kanva

    Hi
    check workflows: WS10000279 and WS10001068 (aut approval).
    But we created our own schema to implement two step approval.
    Regards
    Radek

  • Settings for delivery in erp from crm

    Hi
    Can any one explain what basic settings to be done to carry out delivery in erp when sales order is created in crm

    Hi
    Please check the following:-
    1. The transaction type you create in ECC and CRM should be in sync. I mean it should have the same nomenclature is used in both the systems. Say Z001.
    2. The item category type you create in ECC and CRM should be in sync. I mean it should have the same nomenclature is used in both the systems. Say ZTAN.
    3. Availability check settings in ITEM CATEGORY which will be defined in SAP CRM. Define ATP Profile > Assign this ATP profile in the ITEM CATEGORY in SAP CRM.
    4. Please follow the SPRO settings in the following path in SAP CRM system:-
    SPRO > Customer Relationship Management > Basic Funstions > Availability Check Using SAP ECC >
    Follow the below steps in the corresponding SAP ECC system:-
    1.Start transaction FIBF in SAP ECC, then go to menu Settings  -> Identification -> SAP Applications.
    2.In table BTE Application Indicator, add the application CRMATP and set it to active.
    Note:- You must be aware that the DELIVERY is created once the SALES ORDER is replicated to ECC from CRM. Above settings are required and should be done carefully. Please take help of an middleware expert to do the middleware settings.
    Hope this will help.
    Regards

  • Triggering events from event queue

    Can anyone tell me if events triggered FROM the event queue execute immediatly before returning to the place where the trigger occured (as it seems to when I follow the code in the debugger).
    for example in my code I am:
    1) capturing a tab change event so I'm on the AWT event queue.
    2) calling stopcellediting() on a table which eventually triggers a losefocus event on a control within the table.
    3) the program flow seems to go straight to the focuslost event before returning to process the rest of tab change event.
    is this behaviour reliable? or is it just a timing coincidence?
    thanks in advance.

    This behaviour is reliable.
    All the code that executes these events is performed in the same thread, so it has no means to do something in parallel.
    SwingUtilities.invokeLater method does provide an ability to postpone execution of some code but inside Swing package it is used mainly for paint related tasks (for example the painting of the focus change will most likely occur only after the rest of tab change event processing will be executed).

  • Workflow for deleting extra footage from session/hard drive

    I want to save hard drive space. I have several session of 40gb each. I am new to video editing and realize the way to work is to trim the 4gb files so that I only have the needed footage on the drive, deleting the prerolls and extras from my drive. BUT, I dont know how to do this in Premiere Pro CS6. Is this task better done before I create a project?
    So what is the best workflow?
    Workflow A
    1. Insert SD Media to Computer and edit using MPEG Streamclip or Quicktime(trimming)
    2. Export clips into Session/Scene based folders on main footage hard drive
    3. delete source files from SD media - large files never get saced to hard drive
    If this is best, what export settings are best for Premiere Pro CS6.
    Can this task be as easily done in CS6?
    Workflow B
    1. Insert SD card into computer and open clips in Premiere Pro CS6
    2. Add Scenes/Sessoins into a Sequence and use in/out points to drop clips/subclips into the project(per scene)
    3. export them to hard drive and delete session footage.
    Id this is best, how do you export from Premiere Pro CS6 so that the clips in the sequence are now referenced, the audio and video are stored where I can access them/labeled and I can trash the source footage.
    I hope this makes sense. I want to trim away the wwasted footage and drive space. My 250GB drive is almost full and only 20-30GB is useufl footage. I need a workflow to reduce the file sizes.
    For the current footage  I have the resolution of the export doesnt matter, no one will see them but me. Rehearsal footage. I need the audio and video to stay linked(is that what rendering does?)
    Thanks.

    So an example of what i'm doing is this.
    Last week I  captured 4 rehearsals (musicians and dancers) each lasting one hour. Each rehearsal contains only 2o mins of usefull footage. But the 20 mins are spread out so that if i edited each session there would be 5 4min clips. There will be rehearsals ongoing for twelve weeks so I''ll be duplicating this process many times. I want to save space on the drive by doing some initial editing to reduce each hour session to 5 4min clips.
    What is the best workflow  so that at the end of each week I have 4folders each holding the 20mins of good footage(and audio) on my drive and all the unneccessary footage is trashed. A few sessions will comprise a multicamera setup. All sessions have audio from the cameras and audio from a mixing console. I want all the audio from every source kept.
    I want to preedit each week so that 12 weeks from now when I do the master edit, I have already saved rive space, matched audio sources to the clips(even if I havent edited multicamera clips)
    Can you help me with the front end of the post capture workflow? What is the best way to save space and time given my goal of documenting the rehearsals and for havign a compilation video later? Thanks !!!!

  • I need a workflow for a PAL DVD from Sony HXR-NX5U footage.

    Dear community,
    My task is as stated in the title.
    Please let me know what process you guys and/or gals have with complete success.

    OK, my camera shoots in NTSC frame rates only, as I purchased the cam in the US. (Subsequently, Sony released this upgrade to make the NX5U have the option to switch to PAL Frae rates) whcih I will be doing...
    Do you mean that this camera is natively switchable between PAL and NTSC - how so?

  • Company code data for custom replicated from CRM

    Hi,
    I am trying to default the company code data for a BP replicated from CRM as a customer but it is not working.
    How should this be done in CRM 7.0, ECC 6.
    I am have so far copied function module SAMPLE_INTERFACE_DE_BALE, added my own code and created the entry in table TBE34. But it doesn't work.  Is this correct or is there another method?
    regards
    Tim

    This is what we did wen we had a similar requirement...
    u2022     In the ECC create a FM u2018Z_USER_EXIT_BEFORE_SEND_TO_MWu2019.
    u2022     Register this function module for the CRM0_200 exit user in the ERP system.
    a.     Use Transaction SM30, table TPS34, to go to the maintenance of the modules. Here, enter the Z_USER_EXIT_BEFORE_SEND_TO_MWu2019 module for the CRM0_200 process.
    b.     Use Transaction SM30, table TBE24, to check whether the application you have selected (Product column in TPS34) is active.
    u2022     The FM will be triggered whenever a Sold gets successfully replicated from CRM to ECC system.
    a.     Check for the Object Class u2018BUPAu2019.
    b.     Check for the Object Name u2018CUSTOMER_MAINu2019.
    c.     If yes copy the BP GUID from the BAPIMTCS Structure.
    d.     Now call rfc FM ZLSD_BP_EXTRACT_FRM_GUID in CRM to get the BP number and Acc Group for the respective GUID.
    e.     Check if the ACC GRP is Z001.
    f.     If yes make a BDC call to transaction FD01 and update the Company Code data u2026. Recon. Account     110000
                                 Terms Of Payment ZN30       
                               for the  respective BP
    Note: we have recorded a BDC program to create the company code data.
    regards,
    Sameer Ahamad

  • Issue in triggering events in task

    Hi,
    In my workflow there is a fork and after a fork there is a task for which triggering event is defined and this particular event is triggered from zprogram and agent for task is determined using a rule.
    In zprogram logic is written as event (triggering event for task) is triggered when all 4 users in fork presses submit button.
    Problem is when 4th user presses submit button workitem is created in workplace of agent defined for task and in 4th user as well.Workitem should not be created for 4th user.
    Please suggest.
    Regards,
    Kaustubh.

    Hi Rick,
    I have defined single task in all branches of a fork with CONFIRM END OF PROCESSING tick in task. Task is to call ztransaction.
    Problem is if all users in a fork enters into transaction and by clicking BACK comes out without pressing SUBMIT button in ztransaction and clicks COMPLETE WORK ITEM flow will go to task defined after fork which i dont want.
    Flow should go to task after fork only when user presses SUBMIT and COMPLETE WORK ITEM button.
    Hence I have created triggering event for task which gets triggered only after all user presses SUBMIT.
    Please suggest.
    Regards,
    Kaustubh.

  • IDE: automatic start of workflow for switch document

    Hello guys,
    Please, can someone tell me how do you automatically start the distributor workflow (WS20500195) without using SWUD transaction?
    I created the switch document ( switch view: distributor, switch type: end of supply), but the workflow won't start automatically, although is activated in SWE2 transaction.
    Thanks,
    Regards,
    Eduard M.

    Hello Anand,
    The workflows (distributor, new supplier, former supplier) were activated in SWE2 transaction.
    I also activated the triggering events from SWDD transaction for each workflow.
    Object type: ISUSWITCHD
    Event of the object: CREATED
    The thing is that after creating the switch document, I thought the workflow will start automatically (i mean after having customized the workflows in SPRO + SWE2 + SWDD).
    Anyway, thanks for your help.
    Best regards,

  • Trigger workflow for business travel t-code PA30

    Hi Experts,
    My requirement is to trigger a workfllow for the infotype 9006 from PA30 transaction. I dont have  experience in HR workflows can some one guide the custimizing required in SWEHR1,SWEHR2 and SWEHR3 and also what is the BUS object and event that will trigger the workflow. Thanks in advance.
    With Regards,
    Srini..

    Hi,
    Create a entry in SWEHR3 using a relevent BO and event. or use BOR EMPLOYEET by creating a subtype and adding addditional methods and events. this entry in SWEHR3 will take care of event trigger when ever an operation such as insert or update or Deletion occurs on the corresponding infotype. now create a workflow with this triggering event to do your job.
    Regards,
    Devananda A J

Maybe you are looking for

  • Intermittent trackpad tapping problem

    Macbook Air 2.16; 10.6.4 Often my Air trackpad doesn't respond to single and double tapping. At first I thought it was less sensitive to tapping when you tapped nearer to its edge, but that doesn't seem to be true. Sometimes I have to tap 4,5,6 times

  • Why is the App screen grayed out?

    I click on my device (iphone) in Itunes and when I go to the App screen it is all grayed out and I can't do anything in there??

  • 4s - contacts, notes lost

    I have an iphone 4s. I have icloud. My contacts button has been on. Same with my notes and calendar. They're all missing. Apple support has been unable to solve. Why even pay for this extra storage? I don't even see my photos in https://www.icloud.co

  • Error when I try to enter $20 free app voucher for...

    Hi, I just bought a Nokia Lumia 521 and the current promotion is a $20 gift code no the Windows Store. I made my claim with my IMEI code earlier today and was sent my code. I am trying to redeem the code the operation fails with the dialog below appe

  • Elements 11 installed but no.exe file?

    Using the Adobe Download assistant I downloaded and installed a Purchased version of Elements 11 onto Win XP with the Virus program inhibited. The Adobe Photoshop Elements 11 Icon appeared on the desktop and the Program is listed in Programs and " Ad