Workflow not triggering on first save

Hi Experts,
I have a workflow which sends a notification mail to users.
A condition is set in the action profiles to trigger the workflow, once the condition is met, mail will be sent to users.
But,here the issue is workflow is not triggering on first save.Only when i again edit the same page and save it ,workflow is triggering and mail is being sent to users.
Can anyone pls let me know how to fix this ??

Hi,
In transaction SWEC, i changed the setting from Change to Create and tried again but didn work .
Please let me know, any further changes needs to be made.
Regrads,
Ashwini

Similar Messages

  • Workflow not triggered..in client server

    Hi Friends..
    i have developed one workflow for po release in local system it works fine..
    But i developed the same workflow in client system it was not triggered..
    i checked in swue the event was triggered perfectly..
    But the workflow not triggered.. if i click the workflow overview in me23n it shows
    "there are no workflows that are already worked with this object" so i dont know why this problem..' occur.. this problem arises at the time time of development in local system.. but now it was cleared..at that time release strategy not maintained.. but now release strategy also maintained.. but i dont know the exact reason and how can i solve this kind of issue...
    so anyone help me..urgent issue..
    Thanks in advance
    Gowrishankar

    What is the message that you are getting for the event? Is it "No receiver entered" or something else?
    Check for the event linkage between your event and workflow in SWE2. If it is not set select the checkbox "Linkage Activated" and acitivate the linkage and then try to trigger the event.
    If your event linkage gets deactivated everytime you  try to trigger the event, there could be some problem in binding from your event to workflow container. Check if all mandatory parameters in workflow receive data from event container.
    Thanks,
    Prasath N

  • Succesfactors - Business Rule to trigger workflow (not triggering)

    Hi,
    I have used Business Rules and linked them to Base Objects to default values before and this worked just fine.
    Now I am trying to trigger a workflow from the moment a save is performed in the specific portlet.
    The rule is kicked off (I tested with defaulting a value and that worked correctly) but I don't get the notification that a workflow is started.
    This is how I configured my rule:
    The SF documentation talks a lot about using the pre-defined functions, but there is no real example for triggering workflows.
    I'm probably missing something... any suggestions?
    Already thanks in advance for your suggestions!
    Cheers,
    Gerrit

    Hi Sharma,
              There may be many reasons if the mail is not delivered from SAP .
    1. First Check with the transaction SCOT ( and SOST )
       This will tell you whether SMTP Configured is working fine or not.
       If there are pending ( Waiting ) items in SCOT , then it is not WF isssue ...it's related SMTP .
    2. You can very well test the SAP system for mails by sending a sample mail to your email id from SBWP
    3. If SCOT is working then you call drill down your analysis to application specific things i.e WOrkflow
    Hope this helps ur analysis
    Regards,
    Vijay

  • Workflow not triggered when i have changed the PO

    Hi,
    We have custom fields (Price) in PO Header as well as in item. when we update in header the price should get distributed to items.
    we have custom workflow evernt (changed) to update the items if user change in header. But the issue is if user changes the items and save the po, it is not updating immediatly. after we come back to Purcahse Order and save the purcahse order again then it updates the table.
    Is there any reason why the event is not triggered when the PO was changed initially.

    Hello,
    "We have custom fields (Price) in PO Header as well as in item. when we update in header the price should get distributed to items. "
    If you update a price in the header, how/why would that be distributed to the items? Is this a total price of the whole PO? Why not just have it in the header?
    "we have custom workflow evernt (changed) to update the items if user change in header."
    OK. Strange, but OK.
    "But the issue is if user changes the items and save the po, it is not updating immediatly"
    I thought it was supposed to happen when the users changed the header, not the items.
    If you really have a workflow to update the items when the header is changed, then maybe it's not succeeding if the PO items are locked, eg by having them on your screen. Did the worklow actually start? Any error messages?
    rgards
    Rick Bakker
    hanabi technology

  • Workflow not triggered for BP when start condition's field is set by BADI

    Hi guys,
    I have created a workflow and given the start Event "Changed" of object BUS1006. In this I have given a start condition which triggers this event when a particular field on transaction BP is populated.
    Now the problem is that when I myself explicitly populate the field and press save the workflow is triggered fine, but when I populate that field automatically in a Save BADI (BUPA_GENERAL_UPDATE), the workflow is not triggered. Tcode swel just returns the msg that Start condition returns 'FALSE' for object.
    Can someone please help me in this or let me know where I can find its cause in system.
    Any help would be really appreciated.
    Regards,
    Shaili

    If this is just one field, create your own custom event and code launching it when saving BP with your field changed.
    Maybe event Changed is executed only for changes in GUI.
    If you program your own one you will have 100% control of it.
    Regards
    Radek

  • SAP Workflow not triggering due to "Start Condition return FALSE" message in SWEL

    Hi,
    I have SES approval workflow which is not triggering in few cases because of check function ends with exception even it has valid start condition and correct data. For example lets say we have PO no. 100 for which 3 SES (SES1,SES2 & SES3) are created. Out of which workflow for SES3 is not triggering even if all the three contain valid start condition(Bases on internal order at PO line item).when triggering workflow manually using SWUE for SES3 it work fine.Please find SWEL screenshot below and let me know if you have come across this type of issue.
    Thanks in Advance.
    Ishant.

    kindly use SAP_WAPI_CREATE_EVENT and not SWE_EVENT_CREATE it's always better to use APIs.
    Why use 2 sub-objects? you already have a z-object and you can modify it. even if there is a reason for the double sub object , the workflow should still run on the standard one - BUS2091.
    see for example :
    Extending Object Types: Inheritance and Delegation - SAP Business Workflow - SAP Library
    As for your question,
    if you are using a function module to raise the event, way not check in it if the service entry sheet has been created properly before creating the event. you can even check if the PO contains an internal order in your RFC function module and raise a specific event. then you will have no need for the starting condition.

  • Workflow not triggering when changing Item-level Permissions in Sharepoint 2013 list

    Scenario:
    We have a custom list in Sharepoint 2013 that we use for Case Management. We have a workflow that triggers on a created item generated from an email. The user then gets a reply with a link to his own case.
    I want the users only to be able to see their own cases and no one elses.  When I change this under
    Advanced Settings under List Settings and
    Item-level Permissions and set them to Read items that were created by the user
    and Create items and edit items that were created by the user
    the workflow doesn´t trigger.
    How can I resolve this? I've tried every possible out-of-the-box permissions but with no result. Help!
    Thanks in advance!
    // Browncreek

    When you're testing , remember you cant trigger declarative workflow from the System Account - you need a general user account for auto-trigger workflows.  Good luck!
    Chris McNulty MCSE/MCTS/MSA/MVTSP | blog http://www.chrismcnulty.net/blog | twitter @cmcnulty2000 Microsoft Community Contributor Award 2011
    Hi, I have the same problem. Except that I am not using an email to create a new item. The item is created by members of a SharePoint group that have Contribute access to the list. When use the same settings i.e.
    Read items that were created by the user and Create items and edit items that were created by the user,
    the workflow does not trigger. If I set it back to Real all items and Create
    and Edit all items, it triggers the workflow.
    Please help me resolve as I have rolled this out to pilot users and am having this trouble.
    Thanks,
    Vishal

  • Workflows not triggered when documents are created in Doc Set via Content Organizer

    The following is my scenario:
    A document set (containing several documents) is created in Library A on Site A
    Using Send To, the Document Set is sent to the Drop Off Library on Site B (a different Site Collection)
    A Content Organizer rule then moves the Document Set and its documents to destination Library B
    In Library B I have defined a workflow (using Visual Studio 2012) that is triggered when new item is create
    When the Document Set arrives in Library B from the Drop Off library (i.e. when the Content Organizer moves the Doc Set to Library B), the workflow is triggered (and executes) on the Document Set, but it is NOT triggered on the documents within the Document
    Set.   How can I get the workflow to trigger on the documents within the set when they are created via the Content Organizer rule?
    The interesting thing is that if I manually add another document to the Document Set in Library B, the workflow is triggered on that document.  It just does not trigger when the documents are created via the Content Organizer.

    Hi,
    In edit Content Organizer rule page, I see there is an option as Automatically create a folder for each unique value of a property:
    However, unlike the drop down used in the property based filters above, this drop down *only* contains properties that are required by your content type. 
    This is done to prevent adding folders that have no values for a property. 
    If you need to put similar documents to the same folder, you could consider making use of this feature.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • After Update Trigger not triggering for first update

    Hi All,
    I have written a Trigger on AP_SUPPLIERS table to update AP_SUPPLIER_SITES_ALL when payment priority gets updated on AP_SUPPLIERS table. Trigger calls a pragma autonomous procedure after update happens, and updates sites table. We are on R12 (12.1.3) with  DB 11.2.0.3.0
    Somehow this is not working for the first update, after that for every update it is working. Any idea why this might be happening?
    Trigger Code: 
    CREATE OR REPLACE TRIGGER XX_AP_SUPPLIER_SIT_UPD_SYNC
    AFTER UPDATE
    ON AP.AP_SUPPLIERS
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    l_vendor_id     NUMBER;
    l_paym_priority NUMBER;
    BEGIN
       XX_AP_SUPSITE_UPDATE(:NEW.PAYMENT_PRIORITY, :NEW.VENDOR_ID);
       EXCEPTION
         WHEN OTHERS THEN
           RAISE;
    END XX_AP_SUPPLIER_SIT_UPD_SYNC;
    Procedure Code:
    CREATE OR REPLACE PROCEDURE APPS.XX_AP_SUPSITE_UPDATE (p_payment_priority  IN  NUMBER,p_vendor_id IN NUMBER) AS
      PRAGMA AUTONOMOUS_TRANSACTION;
      ex_custom EXCEPTION;
      PRAGMA EXCEPTION_INIT( ex_custom, -20001 ); 
    BEGIN
      UPDATE AP_SUPPLIER_SITES_ALL
      SET PAYMENT_PRIORITY =p_payment_priority
      WHERE VENDOR_ID = p_vendor_id;
      COMMIT;
    EXCEPTION 
    WHEN OTHERS THEN
        raise_application_error( -20001, 'Error while updating payment priority on Site '||SQLERRM );
    END XX_AP_SUPSITE_UPDATE;

    Thanks for your replies Saubhik/VT,
    now my trigger is compiled. but is not triggering. pl help me to resolve .....
    create or replace
    TRIGGER AUDIT_DEV.trg2
    AFTER DELETE OR UPDATE OF EMP_STATUS ON AUDIT_DEV.AUDIT_PERSONS
    FOR EACH ROW
    declare
    OSUSER varchar2(30);
         MACHINE varchar2(30);
         logon_time date;
    db_user varchar2(30);
    USERNAME VARCHAR2(30);
    EMP_USER_MODIFIED AUDIT_PERSONS.EMP_USER_MODIFIED%TYPE;
         EMP_DATE_MODIFIED AUDIT_PERSONS.EMP_DATE_MODIFIED%TYPE;
         EMP_SK AUDIT_PERSONS.EMP_SK%TYPE;
         EMP_ID AUDIT_PERSONS.EMP_ID%TYPE;
         EMP_NAME AUDIT_PERSONS.EMP_NAME%TYPE;
    EMP_RESIGNATION_DATE AUDIT_PERSONS.EMP_RESIGNATION_DATE%TYPE;
    BEGIN
    select     username,osuser,machine,logon_time into db_user,osuser,machine,logon_time from v$session where sid=(select sid from v$mystat where rownum=1);
    INSERT INTO AUDIT_DEV.AUDIT_PERSONS_LOG (EMP_USER_MODIFIED,EMP_DATE_MODIFIED,EMP_SK,EMP_ID,EMP_NAME,EMP_RESIGNATION_DATE,EMP_STATUS_OLD,EMP_STATUS_NEW,osuser,db_user,machine)
    VALUES(EMP_USER_MODIFIED,EMP_DATE_MODIFIED,EMP_SK,EMP_ID,EMP_NAME,EMP_RESIGNATION_DATE,:old.EMP_status,:new.EMP_status,osuser,db_user,machine );
    COMMIT;
    END;
    09:59:06 AUDIT_DEV@dev>UPDATE AUDIT_DEV.AUDIT_PERSONS SET EMP_STATUS='TEST' WHERE EMP_ID='4234';
    EMP_STATUS
    TEST
    1 row selected.
    Elapsed: 00:00:00.01
    10:00:03 AUDIT_DEV@dev>commit;
    Commit complete.
    Elapsed: 00:00:00.01
    10:00:17 AUDIT_DEV@dev>select * from AUDIT_persons_log;
    no rows selected
    Elapsed: 00:00:00.00
    10:00:17 AUDIT_DEV@dev>
    Edited by: Abk on Nov 4, 2010 10:42 AM

  • ESS/MSS Standard workflow not triggered....

    Hi Experts,
             I have small doubt, but why can't I solve this I does't know? Kindly some one help me on this issue.
    Scenario as follows...
            I have copied the standard loan workflow "WS18900041" to my custom workflow. So, Here when I apply loan through portal workflow is not triggered. I have activated the events which are present in loan. But after that also I am unable to trigger the workflow. Through SWE2 / SWETYPV tcode I have enabled the linkage to the portal. When I activate the event in workflow it will be automatically shown in SWE2 / SWETYPV. After all the process I have activated and checked, When I tried to apply for loan and submit the loan I am unable to trigger the workflow else workflow is not getting triggered. Kindly help.... Most Highly importance.... Please reply as soon as possible....
    Thanks & Regards
    Kannan

    Hi Kanan
    I am in the same object now. Can u share me some scenarios how to do this.
    Regards
    Gopal

  • Leave Workflow Not triggered

    Hi All,
             We configured the Leaves through ESS and it was working fine, but abruptly, the Leave Workflow stopped executing. I have maintained the following settings:
    1. In the leave settings in SPRO, "Process Request Using Workflow" option is checked and the WF Id is 12300111 for all the three entries.
    2. Display field for next Agent is checked. In ESS, the manager's name is displayed in the leave app.
    3. Request has to be approved option is checked.
    4. In SWFVISU, TS1230097 is maintained as 
         APPLICATION        LeaveRequestApprover
         DYNPARAM          wi_id=${item.externalId}
         PACKAGE            sap.com/ess~lea
    5. The task TS1230097 is maintained as a General task .
    I tested the application through PTARQ & through ESS, the leave is applied, but the Workflow is not triggered. I checked the WF Tasks in SWIA, but No Workitem exist there. There's no entry in SWEL.
    Can you please suggest, where are we missing to trigger the workflow.
    Cheers!!!
    Umang

    Hi Umang,
    I do not see any problem with your workflow configuration.
    Most probably the problem is with your rule group configuration.
    As advised before, using WEBMO feature, find out what is the right rule group for the test employee (for whom you are applying leave). Then ensure that in the SPRO "Personnel Management -> Employee Self-Service->Service specific settings -> Working Time -> Leave Request -> Processing Processes--> define Absences/Processing Processes" there is an entry for the Rule group and the leave type you are applying for.
    View that entry and ensure that you have all the WF settings as told before.
    Thanks
    Krishna

  • Workflow not triggering automaticaly

    Dear all,
    I have some workflow which are working fine when I test these in SWDD t-cdoe. But on doing actual transaction these workflow are not triggering automatically.
    If I go in t-code SWUE I am again able to trigger it manual for a particular document. But I do not I understand why it is automatically not triggering.
    Objects are:BUS2005-CREATED AND MKPF-ASSIGNED
    Please give u r ideas to sove this.
    Thanks,
    Dhananjaya

    Hi
    1 . Please check the Triggering event given are not to start the workflow if Yes then Check  it is  Active Or   Not  ( IF every thing OK here) then
    2. activate  trace in the trasctinon  SWELS  and execute the transaction.
    3 . Go to transaction SWEL and execute it and check there must be the WORKFLOW with YOUR business object if it is getting triggerd.
    IF Not workflow not triggerd  then check the linkage in transaction SWE2.
    IF above all steps are OK
    Then CHECK configuration in SWU3 transaction (customise workflow setting must be done ) .
    .Thanks
    Deepanker Dwivedi

  • Workflow not triggered for PR from MRP run

    Hi,
    I have PR Release strategy workflow configured, working well when i try to create PR manually, triggers workflow.
    PR's created thorugh MRP run, triggers release strategy but not workflow.
    I checked the event trace 'releasestepcreated' event not triggered through MRP run.
    Please respond ASAP.
    Your inputs will be highly appreciated.

    The response i got from SAP.
    Please see note 67866 Purchase req. from materials planning -> no workflow
    Thanks,
    Indira

  • SC approval workflow not triggered..

    Hello All,
    I have a SC created in EBP which is in status 'awaiting approval'. But there is not active workflow running in the system.
    I also checked if there is any event in error in event queue broswer. But I dont see any event in error.
    What could be the reason for workflow not getting triggered in this case?
    Thanks and regards,
    Vithal

    Hello,
    Check the start conditions for workflow in question via SWB_COND. If everything is fine, perform a consistent check using SWUD.
    Also, check the default currency maintained in start condition as well as if the start condition depends on the currency. If so, its value should be explicit within start condition expression.
    Kind regards,
    Ricardo

  • SC Workflow not triggered

    Hi ,
    Need help!!!
    When we upgraded our system from SRM4.0 to SRM 7.0 ,Shopping cart WF is not getting triggered.
    Thanks & Regards,
    Arul.

    Okay Arsgh,
    No worries. Are you working on Application controlled or Process controlled workflows?
    If you are using Application controlled WFs, then do the following
    First check if SWU3 (automatic WF customisation) is done in your SRM client
    Then check whether WF is activated (Check the event linkage in SWE2)
    Also ensure that you have done agent assignment and set the corresponding tasks as general task.
    Regards,
    Nikhil
    Edited by: Nikhil RGupta on Jul 21, 2011 12:23 PM

Maybe you are looking for

  • How can I see what is on my cloud?

    How can I see what is on my cloud? Also, I keep getting asked to manage storage when I am watching videos that I have bought through the store. I have bought lots of cloud space only half of which is used. Is my device too full of pictures or videos

  • Is there a way to monitor WF according to its business semantics?

    Hi experts, Tcodes swiX offer a way to monitor wf in runtime from a view of technically. But I need a way to trace the process of WF from the view of business for user. For example, is there a way to find a WF in processing by its initiator, or certa

  • F-22 on save exit to change value

    hi, is there any exit on SAVE of F-22 , actually i have add one field in bkpf now i want to insert that field into BKPF. any idea??

  • Download link for Developer Suite 10g 10.1.2 for Windows not working

    I cannot download Oracle Developer Suite 10g 10.1.2 for Windows. The link redirects to the Application Server download page following the license agreement.

  • Can't see any words on finder menu

    My finder menu, trash, and drop down menus are blank. I can't see any words or icons. This is what it looks like http://imgur.com/y9bMFi7,dHUismv