Mail step in workflow is in infinite loop.

Dear All,
       I have created a workflow with deadline monitoring feature.In the workflow created,I have defined a mail step in a loop with loop condition priority = 8 and three minute for deadline.When the workflow gets triggered , the mail step is in infinite loop and as a result the recipient is receiving the mail every three minutes once.
      Now I want to stop the workflow from infinite loop.Please provide me the solution for which I will be grateful.
Thanks and regards,
Pari

Maybe you should check the thread you created unde the user Vijay Kumar [here.|need to kill the dead line menotoring;
Regards,
Martin
Edited by: Martin Nooteboom on Jul 7, 2008 3:43 PM
I see Mike also noticed and locked the other thread. Thanks Mike.

Similar Messages

  • Regarding runtime error ehile execution of Mail step in workflow

    Hi all when i execute mail step in workflow i am getting following error-
    SQL error in the database when accesing a table.
    How to correct the error
       Database error text........: "SQL system error. MSGID= Job=038082/DEV05/WP02"
       Internal call code.........: "[RSQL/INSR/ARFCSDATA ]"
       Please check the entries in the system log (Transaction SM21).
       If the error occures in a non-modified SAP program, you may be able to
       find an interim solution in an SAP Note.
       If you have access to SAP Notes, carry out a search with the following
       keywords:
       "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
       "SAPLARFC" or "LARFCU03"
       "END_TRANSACTION_NONE_LOCAL_UPD"
       If you cannot solve the problem yourself and want to send an error
       notification to SAP, include the following information:
       1. The description of the current problem (short dump)
          To save the description, choose "System->List->Save->Local File
       (Unconverted)".
       2. Corresponding system log
          Display the system log by calling transaction SM21.
          Restrict the time interval to 10 minutes before and five minutes
       after the short dump. Then choose "System->List->Save->Local File
       (Unconverted)".
       3. If the problem occurs in a problem of your own or a modified SAP
       program: The source code of the program
          In the editor, choose "Utilities->More
    Please guide.
    Thanks.

    Hi Sanjay,
    Firstly are you using Send mail Activity or are u calling Fm SO_DOCUMENT_SEND_API1.
    Well  I suppose u are calling the FM, in that case just check the data that you are fetching before calling this FM. This error is related to sql query so check your select statements used before sending mail.
    Hope this helps.

  • How to send mails in HTML format from the send mail step of workflow?

    Hi,
    I have a requirement where I need to send mails in the html format from the send mail step of the workflows.
    But what I found out that the html tags are not renderd and as such the output is in plain text.
    I know that there is an alternative of using an activity step and use my own custom code from within there,But due to certain business constraints, I need to use the send mail step only.
    My SCOT settings are all right.
    Please let me know how it can be done.
    Thanks,
    Samrat.

    Samrat,
    It can't be done, you have to use your own activity step.
    What are these constraints that refrain you from doing that?
    Rgds,
    Patrick

  • SEND MAIL STEP IN WORKFLOWS.

    hi gurus,
    The send mail step sends a notification to the sap inbox of the user. This step works fine in a client, whereas it fails in another......I am not aware of the reason.
    Regards,
    Sukumar.

    hi,
    please check the agent finding rule is failed in the log or the background job is scheduled properly inorder to schedule or delver the mails using the transaction : swnconfig if it EP 5.0 or above.
    if it is issue with the workflow like buffer problem, then try this technique
    You have changed your workflow template in client 000. If you look to the workflow definition in another client with SWDD, then you see the newest version as just maintained in client 000. But at runtime, the old (former) version of the workflow definition is used.
    Cause:
    When activating a workflow template, then also some client specific data is replicated from client 000 to the other clients. In this replication there is currently an error. I just talked to a workflow colleague. The problem we have observed seems to be just the tip of an iceberg ... . They are working on the issue(s) related to this.
    Workaround:
    Execute  function module SWD_WFD_REPLICATE_FROM_9999 in the client, you need to have the newest template definition. Enter your workflow template ID (with pattern "WSxxxxxxxx") in parameter IM_TASK and execute. Make sure that you do not lock the template in SWDD.
    Then you also (may) need to execute transaction SWU_OBUF to synchronize the buffer
    i hope this answers your query.
    Regards,
    Saujanya

  • Attachment to Mail step in workflow

    Hi All
         I have to create a attachment to the standard mail step , for that i have created a object of type SOFM and sent it back to the workflow conatiner ATTACHOBJECTS  and later this element is binded to ATTACHOBJECTS of the mail step conatiner element but it is not getting attached.
    after refferring some threads I have come to know that we need to pass it to the multiline element _ATTACHMENTS of the mail step.
    So i have done the binding between ATTACHOBJECTS ---> ATTACHMENTS of the mail step then it is going to error state
    and the error is "DOCUEMNT <FOL33XXXXXXXEXTXXXX73> COULD NOT BE SENT"
    Thanks & Regards
    Pavan

    Hi Rick,
    I've checked all the settings and everything is fine.
    The problem is with sending attachment.When we are sending mail without attachment, it is working fine.
    Also attachment is getting generated perfectly.I can see the attchment at work item of mail send through SWI1.
    One more point I want to add that attachment is in pdf format.
    Thanks & Regards,
    Anirban

  • Send mail step of workflow

    Is it possible to create a new task for the send mail step of the workflow instead of using the standard task TS45308726-send mail?

    Hello Binil,
    I can't see why you would want to create another task. This task should be able to provide you with all you need.
    Any way, it is definitely possible. All you have to do is to create a method in a class that will send the desired e-mail. Inside this method you can call any send e-mail function module (for example, SO_SEND_OBJECT or SO_OBJECT_SEND - I'm not sure of the order, but you should be able to find it). After that generate a task that calls this method (using transaction PFTC).
    After that, you can insert this newly created task into your workflow template.
    Regards,
    Abdullah

  • Workitem in attachment of outlook mail sending from mail step in workflow

    Hi  Expert,
    Presently  i am sending  a mail to approver of PO to external ID to inform that he has received a workitem in SAP in Box please login into SAP system and Approve the PO....
    But now requirment has changed .
    They need  this workitem in attachment of the mail i am sending to approver. approver click on that attachment it automaticly direct to sap system to the transaction ME21N to approve PO.
    Please guide to achive the new requirment..
    Deepanker Dwivedi

    There are two ways of doing this stuff...if you are running on WAS 6.4 or above then use second one.
    First method:-
    Schedule the program RSWUWFML2 as per your requirement. This will route the workitem links to the external mail id like outlook from user can log into sap and approve or reject the workitem.The SCOT should be configured to send and recieve external mails.
    Second Method:-
    U can use extended notifications for approving the workiten from the outlook or any other extrenal mail id.
    The basic configuration required is expalined in these two links
    [http://help.sap.com/saphelp_erp2005vp/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm|
    [/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox ]
    Please revert back if you require further inputs.

  • Change in sender name of mail sended through workflow

    Hi All,
    I have requirement where we want to chage the sender name decription for mails which are going through workflow.When we send mails through send mail step in workflow it is taking sender decription name automatically as "GSAP E1B WORKFLOW SYSTEM".
    I have to change this decription to "OSIRIS Invoice". Is there any way to change sender name?
    We are using SENDTASKDESCRIPTION method of SELFITEM object in send mail step.
    Any help on this regards will be grate help...
    Regards,
    Rahul

    Hello Rahul,
    here, the sender's name is the user's name of the background user performing this task, i.e. usually WF-BATCH.
    If you do not have any other workflow scenarios running that could interfere here you could possibly just change that user's name.
    Otherwise you have to re-program the sendmail step to specifically set the sender description.
    Best regards,
    Florin
    P.S: Workflow issues have a separate forum:
    SAP Business Workflow

  • Send mail to external address using send mail step.

    Hi all,
    I have one question.
    In a send mail step of workflow, when the recipient type is a Organizational Object and Org Unit, the mail is only sent to workplace? I would need to send the mail to external address from all users of Org Unit. Is possible it?
    Thanks
    Regards,
    David.

    Hi,
    1) In the Recipient type select the E-Mail address from the drop down
    2) And give the email id (in the text box)
    3) Then save & test it.
    4) Once it execute goto t.code SOST and see the email entry.
    5) If entry not found, the SCOT settings is not done then check with Basis Team
    6) If found, select it and execute.
    7) And check you email
    Regards,
    Surjith

  • Workflow infinite loop how to Stop?

    hi,
    My workflow is having a loop it runs infinite bcos the condition is not proper. Inside the loop i have a send mail step.. How to stop the Running workflow???
    Regards
    Roops

    Roop,
    It seems that the loop condition is a workflow step and not something in the method code.
    For active instances of this workflow you will have to manually intervene. There can be 2 options -
    1. Open the workflow log and change the container values such that it comes out of the condition
    2. Logically delete the workflow.
    Hope this helps

  • Send mail step in local workflow

    Hi Experts,
    I have inserted a send mail step in my local workflow. But while executing the workflow rather than sending mail my workflow stops with status In process in send mail step. In graphical log its displaying as "No agent found" for send mail step. But i have assigned workflow initiator as agent. But other than send mail if i use other steps like user decision or activity in local workflow, wokflows proceeds with execution and sets to status completed. Should i not use send mail in local workflow step?
    Things i have done:
    1. I have mail workflow as general task from PFTC.
    2. Tried with SWU_OBUF
    3. Correctly assigned WF_INITIATOR as expression for send mail.
    Kindly help me in this regard.
    KR,
    S Bharath

    Dear Bakker,
    Sorry for the confusion. In send mail I tried with 2 options,
    1. I directly gave expression as WF_INITIATOR
    2. I created a workflow container element with type SWHACTOR and assigned a user id as initial value.
    In both cases I am not getting send mail icon and status mail sent (one that usually comes for a send mail step in log) but instead i am getting an activity icon displayed with status ready. But there is no agent icon displayed (usually we click this to find the assigned agent). So the status of the workflow remains as In process.
    KR,
    S Bharath

  • Regarding Mail step in a workflow.

    Hi All,
    I have a Mail step in the work flow and the mail needs to be send to all people in a particular position. But the position number is not a static one it is determined dynamically in back ground step and is available in an element of the workflow container.
    The problem is when i choose position in the Agents i am not able to assign the workflow container element.
    The WF container element refers to: SWHACTOR-OBJID
    Could anyone please tell me the solution.
    Points are definite.
    Thanks & Regards,
    Goutham.

    Hi Umang,
    Thanks for your reply. I have 2 doubts about this.
    1.) Is it fine if I change the event of this standard workflow itself. i.e. from RELEASESTEPCREATED to RELEASED ?
    2.)If I create a customised workflow & if I change the event from  RELEASESTEPCREATED to RELEASED then will it send the mail to PO releaser for each release, because the current process to send mail to each releaser is a must, only the confirmation for each PO reelase should be stopped.
    Please suggest .

  • Workflow : Mail Step Problem

    Hi,
    I am getting a peculiar problem with Mail step. I am getting the following ERROR :
    <i><b>Work Item XXX Object YYY method SWW_BI_EXECUTE_S cannot be executed</b></i>
    What could be the problem?
    All the containers are properly BINDED are getting passed to the Mail Step.
    Regards,
    Raja Sekhar

    If you are using the standard Selfitem.SendTaskDescription method and are getting the error, one or more of the values being passed could be wrong. Check if Workflow technical log has more info on the error.
    Cheers,
    Ramki Maley.

  • Mail 4.2 --  Infinite loop -- RSS subscriptions

    My Mail has been freezing lately. Not sure what's up. ISP is not the fastest -- G3 air card -- but should be able to handle that. Saw under someone else's post suggestions to "Rebuild" the mail box. Did this for the first time. Went rather quick. So did it again. Same results -- uneventful. Hoping that smooths things out. Didn't know if there is some current issue with "Mail."
    Per the RSS feed, I have over 7000 articles in my NYT subscription. It's when I've been bringing up that list that the thing goes into an infinite loop. Thanks you Steve Jobs for giving us a force quit command . . .

    Yes, but the setText() is only invoked when the values are different. So I guess the math is causing some rounding errors each time resulting the values to be continually changed. So the other approach is to remove/replace the DocumentListener.
    textField.removeDocumentListener(...)
    textField.setText();
    textField.addDocumentListener(...);

  • Mail is In an Infinite loop. after trying to send photo attachment

    Mail has been working fine until my wife tried to send 3 MB of photos as an attachment. Now the Mail is in an infinite loop. The error message is: " Some actions taken while the account “.Mac Account” was offline could not be completed online.
    Mail has undone actions on some messages so that you can redo the actions while online. Mail has saved other messages in mailbox “On My Mac” in “On My Mac” so that you can complete the actions while online.
    Additional information: The connection to the server “mail.mac.com” on port 993 timed out. " I have deleted all the mail library files I can find and restored using Time machine. The "On My Mac" mailbox keeps reappearing from the dead ! NO help. What is causing this ? Hoe do I fix it I have 2 Mail providers, Apple and Earthlink.

    Well I'm having the same problem after also trying to send an email with photos as attachments.
    The email keeps getting put into my draft mailbox "On My Mac". I've tried removing the attachments and then deleting the email,I've tried deleting the mailbox, I've been to the server and deleting the email I found there, but as you say, everytime, it comes back from the dead. I've gone to my mail preferences and changed the port and nothing seems to work. What is strange, is that everytime I click on the OK button on the error message, it starts again and puts another copy of the message into the draft mailbox, so I end up with multiple copies of the same email, complete with attachments.
    I've tried turning airport off while I do this, and then turning it back on after deleting, but it hasn't helped.
    I'm baffled as to what to try next.

Maybe you are looking for