Workflow getting de activated

Hi
I created a custom event 'ItemCreated' for object type MSEG.
However, whenever a item is created in MM transaction, the event is getting created which I can see in event trace but the workflow does not get triggered and event linkage gets deactivated as well in the workflow.
I am getting the following feedback in event trace:
Workflow definition of task 'WS91100019' cannot be activated
Please let me know how to fix this.
Regards
Waz

I'm wondering if at the time of triggering the ItemCreated event, if the data has been truly committed to the database.
I'm getting at what may be a conflict between the MSEG getting created in an Update Task and the point in time when the BADI is called.
If the BADI is called before MSEG gets committed that would cause a problem, though probably and OBJECT_NOT_FOUND exception.
First I would start the workflow using SWUS.  If that works, then...
I would try triggering the ItemCreated event manually using SWUE, for the instance of MSEG that you got your most recent error.  You know for certain that the instance was created earlier (just no wf started).  If SWUE starts the WF, then the BADI call is suspect.  If you still get the same error then its something else.
The Workflow Template itself is active from what you mentioned before correct?  I would go back to the template, generate a new version, then activate it, and examine all the messages that come from activating it, looking for something suspicious
I would also create a new shell of a workflow (maybe a simple container operation step at most), with the same Event Linkage to ItemCreated and see if it starts.
I would also try deleting the binding between the Event Container and Workflow Container temporarily and retry just to see if the WF will start.  Sure the flow will error without a leading object, but at least it would have started.
Keep me posted...

Similar Messages

  • Purchase Order Workflow - getting de-activated

    Hi All,
    We have a Purchase Order workflow that has been working well for quiet some time now. Over this weekend, we installed Enhancement Packs 1 to 3 and in the midst of testing in QA, I have noticed that, each time a PO workflow gets triggered, it de-activates the workflow causing other instances of the workflow to not be triggered.
    Each time, I have to go and re-activate the workflow.
    Has anyone faced such an issue and if so, what did you do to prevent them occuring.
    Thank you,
    Satish

    I think the person who is creating the PO do not have the Proper authorization hence this deactivating. This deactivating thing can be avoided by going to SWE2 and changing the Error on Feedback field to Do not change Linkage. I hope this will solve your issue. You can also try to find the event that have not triggered from Event Queue SWEQADM
    Thanks
    Arghadip

  • The workflow gets trigerred thrice...

    Hi,
    The trigerring event for the workflow is getting triggered thrice. The event is attached to bsvw and i have activated the event, thats it, but when i check in swel there are three entries having the same event. Any suggestions please..
    Regards,
    Sukumar.

    hi,
    Its  a simple logical expression which gets evaluated before the workflow gets triggered,in this way we can prevent the other workflows from getting triggered.
    Another option is to have a check function module.This helps in preventing most of the workflows from getting triggered.
    I hope this will be helpful to you.
    Regards,
    Saujanya

  • Workflow definition not activated

    Hi,
    after transporting a workflow from DEV to QUA environment I get the following error message in transaction SWU0:
    "Workflow definition not activated"
    How can I solve the problem?
    Thank you.
    //Elvez

    Hi,
    Looks like your workflow template that is transported is not active. Check the workflow status in the Information Area on the top left in SWDD (below the wokflow template id). It shud be "Active, Saved". If it something else click on the "Activate" button.
    I am not sure if you are allowed to do this directly in Quality. If not allowed try creating the WF template in a new request and try transporting again (U might get one more version generated in quality but this might solve your problem)
    Thanks,
    Prasath N

  • I am getting an activation error when trying to sign in to FAceTime

    I am getting an activation error when trying to sign in to FAceTime

    me too after upgrading into lion..

  • How do I get the activity window in safari 6.0.2?

    How do I get the activity window in safari 6.0.2?

    Safari 6
    Activity Window is no more available in Safari 6.
    Apple removed that feature.
    Best.

  • BO XI 3.1 : Active Directory Authentication failed to get the Active Directory groups

    Dear all 
            In our environment, there are 2 domain (domain A and B); it works well all the time. Today, all the user belong to domain A are not logi n; for user in domain B, all of them can log in but BO server response is very slowly. and there is error message popup when opening Webi report for domain B user. Below are the error message: 
           " Active Directory Authentication failed to get the Active Directory groups for the account with ID:XXXX; pls make sure this account is valid and belongs to an accessible domain"
          Anyone has encountered similar issue?
       BO version: BO XI 3.1 SP5
       Authenticate: Windows AD
    Thanks and Regards

    Please get in touch with your AD team and verify if there are any changes applied to the domain controller and there are no network issues.
    Also since this is a multi domain, make sure you have 2 way transitive forest trust as mentioned in SAP Note : 1323391 and FQDN for Directory servers are maintained in registry as per 1199995
    http://service.sap.com/sap/support/notes/1323391
    http://service.sap.com/sap/support/notes/1199995
    -Ambarish-

  • I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I've gotten a little further on this. The dynamic select is
    working fine. It's the "a href" code that isn't. I'm wondering if
    someone can look at this line and tell me if it's okay to build the
    query string this way. The storeid comes through fine but I'm still
    not getting the employeeid value to pass. Here's line that's not
    working:
    td><a href="registerStoreCust.php?storeid=<?php echo
    $row_storeRS['storeid']; echo "&employeeid="; echo
    $_GET['employeeLM']; ?>">Register
    Customer</a></td>

  • HT1920 I have got a Activation Lock on my iPhone and I need to get it activated. I don't know what Apple ID I was using with my iPhone. It shows as U***@h******.uk which is too short to be my email address. I have reset all my Apple ID passwords and none

    I have got a Activation Lock on my iPhone and I need to get it activated. I don't know what Apple ID I was using with my iPhone. It shows as U***@h******.uk which is too short to be my email address. I have reset all my Apple ID passwords and none are activating my iPhone. I have also been into the apple store and they have tried to find out the Apple ID my iPhone was using but this was not successful. The serial number of my iPhone is: C32JN641DTWF

    You are going to need to change the email address you use with your old ID. Once you have got access to your old account you will then log into both accounts at the same time on your Mac and transfer your data to a single account. We can do this later, but need you to get access to your old account first.
    My Apple ID

  • I am trying to install MS Office for Apple, no to get the activation code for it you have to go through windows live , now I tried to sign in and been so long I forgot my password, so I tried to rest it the way they say to and keep getting invalid id and

    I am trying to install MS Office.man 2011 and when I get prompted to go get the activation code on line I have to log on with my windows live id. I had one when I had a pc and have since forgot my password so I enter my live id and goto the rest password screen, when I fill out the way they want I get an error message that says my live id is invalid, so I tried to start a new account and I use my email like they say and I get, that email already has a account and to try resting my password. anyone else have this issue?

    Since your question is related to Microsoft products, I suggest you post your question on their own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

  • I am reloading Photoshop CS2 and I can't get it activated. How is this to be done?

    I am reloading Photoshop CS2 and I can't get it activated. How is this to be done?

    The activation servers are retired and so your old CS2 copy and serial number no longer work.
    Adobe has non-activated Photoshop CS2 and a new serial number to go with it only for CS-CS2 owners.
    Get this here at:
    https://www.adobe.com/cfusion/entitlement/index.cfm?pid=4485850&e=cs2_downloads

  • Why do I get an Activation Error message when trying to set up iMessage on my iPhone 4S?

    Everytime I enter my apple ID in the settings of Messages, it just loads then gives an error message...

    Hello ashirdel
    Check out the article below to get Messages activated.
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Getting the active role of an user in a trigger

    Hello forum!!
    I've been searching to find out if and how I can get the active role of an user when programming a trigger.
    Unfortunately I did not succeed in finding some information about this. Is it possible? If yes, how?
    Thanks for any hint regarding this topic.
    Sebastian

    Thanks for the answers. This helped a lot but it does not seem to work within my triggers.
    CREATE OR REPLACE TRIGGER InscriptionsInsert BEFORE INSERT OR UPDATE ON Inscriptions
      FOR EACH ROW
      DECLARE
        active_role VARCHAR2(11);
      BEGIN
        SELECT role INTO active_role FROM session_roles WHERE role != 'CONNECT';
        IF :new.ni < 1000 AND active_role = 'ind_service' THEN
          RAISE(ABORT, 'le service individuelle ne peut pas faire les inscriptions pour des sportifs');   
        END IF;
        IF :new.i >= 1000 AND active_role = 'eq_service' THEN
          RAISE(ABORT, 'le service equipe ne peut pas faire les inscriptions pour des equipes');   
        END IF;
      END;
    CREATE OR REPLACE TRIGGER ResultatsInsert BEFORE INSERT OR UPDATE ON Resultats
      FOR EACH ROW
      DECLARE
        forme VARCHAR2(12);
        active_role VARCHAR2(11);
      BEGIN
        SELECT forme INTO forme FROM Epreuves WHERE nEpreuve = :new.nEpreuve;
        SELECT role INTO active_role FROM session_roles WHERE role != 'CONNECT';
        IF forme = 'individuelle' AND active_role = 'eq_service'
          RAISE(ABORT, 'le service equipe ne peut pas enregistre des resultats pour des sportifs');
        END IF;
        IF forme = 'equipe' AND active_role = 'ind_service'
          RAISE(ABORT, 'le service individuelle ne peut pas enregistre des resultats pour des equipes');
        END IF;
      END; 

  • How does it usually take to get the activation email after receiving the invoice receipt?

    Hi all. I'm doing the develop enrollment. I received the invoice receipt 3 days ago, which says apple has received my 99 dollars. But I'm still waiting for the activation email. It should take no more than 24 hours to get the activation email, right? if I click "Program enrollment" in this page(https://developer.apple.com/contact/), safari will tell me there are too many redirects and can't open the link. What should I do, please?

    I got my activation e-mail rather quickly; however, something is wrong with my Developer enrollment (I registered as an individual and it says they are trying to verify my identity to see if I can act on my company's behalf--which does not make sense because I registered as an individual).
    Apple has my $99 too and I also am unable to contact them due to the same redirect problem you are facing.
    I am wondering if there is a recent bug on their site that needs to be addressed (seems like it is getting caught in a loop while trying to verify the device and/or browser).  I have posted a question as well so let's hope this gets resolved soon.
    Not a smooth way to start :-/

  • How do I know which workflow has been activated for my SHC in SRM

    Hi Experts ,
    Can anyone tell me where to find which workflow has been activated to my Shopping cart in the SRM. so that it creates a PO in the backend
    To create a PO in the back end it should have a WF actiavted.
    do we can have only always one WF activated or can we have multiple WFs depending on the conditions for one scenario
    Please suggest me
    Regards
    Sairam.

    Cross-Application Basic Settings u2192 SAP Business Workflow u2192 Perform Task-Specific Cusomizing
    SAP u2192 SRM u2192 SRM-EBP u2192 SRM-EBP-WFL
           -   WS10000060 (Automatic approval)
             -   WS10000129 (One-step approval)
             -   WS10000031 (Two-step approval)
             -   WS10000276 (Approval single-level over limit)
             -   WS14000044 (Completion by purchaser)
             -   WS14000109 (Approval n-step over value limit)
             -   WS14500015 (Item approval)
             -   WS14000045 (Delete shopping cart after application error)
             -   WS10000202 (Transfer purchase requisition)
             -   WS10000215 (Resubmission of shopping cart by administrator)
    You need to check Event linkage is either Activated or Deactivated aor these above work flow . I fit is activated it shows green light.
    Muthu
    Edited by: muthuraman on Jul 29, 2008 2:38 PM

Maybe you are looking for

  • How to Send Purchase Order through EDI/IDOC.

    Hi Experts, We are using SAP ECC.5. And intending to send the Purchase Order to Supplier through EDI/IDOC and Receive the Inbound Acknowledgement. Appreciate, if you could help me, the required Configuration details for outbound and inbound (PO & Ack

  • I/O Buffer Size

    Hello i'm using Melodyne from Celemony as a plugin. It requires a change of I/O buffer size. Is that effecting other settings as recording delay oder midi delay? THX, Jay.

  • Creating local indexes

    Hi, we are using db partitioning (Daily partition, Range partition) for sub_eve (partitioned on timestamp field) table. the daily partition contains 173millians on rows daily 40gb. i want to create local indexes for on partitioned key field. 1 sugges

  • Wrong user name in network printer

    A network printer keeps asking me for authorization because the wrong user name is listed. Where can I erase or change the default username/password for this printer? I can't find it anywhere.

  • Premiere Pro 6.0.2 revoked status in updaterfeed.xml

    Hi, Having studied the structure of the AAM updater feed somewhat, I'm curious why Premiere Pro CS6, despite being listed as a REVOKE item in the feed, is still being offered as an update on clients, via the GUI or RUM, or via the AAMEE update packag