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 .

Similar Messages

  • 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 notification in standard Workflow WS20000075

    Hi Experts,
    I am using the standard workflow to send mail to releaser for PO release. The task TS20000168 sends a mail notification to the PO creator saying that the PO is released after every release done by the concerned persons. Now the user requirement is that they want a mail notification to the PO creator only after final release. They dont want notification after each release. Only when the final releaser releases the PO, the creator should get a notification.
    They want to stop the intermediate mail notifications of PO releases.
    Can anybody suggest how to make the changes in this standard workflow ?
    Thanks in advance.

    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 .

  • 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

  • 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 Mail body is not getting displayed in SOST Transaction

    Hi Gurus,
        I have a very strange problem. I have developed a workflow to send notifications.  My client wants to send notifications in different languages based on the user. If the users language is english, the notification mail should trigger in english. If the user's language is French, then the notification mail should trigger in French. like if the user's language is chinese, the notification should be in chinese.
         I have used the Standard text objects (SO10) and read the text based on language of the user into the workflow container element. We have passed that container element (which has the required text in users language) to text_lines in SEND MAIL step of the workflow.  I am getting the text in the correct language based on the user.
        When the mail triggers to user, the user is getting a blank email. There is no body/text in that email.  We have checked the SOST transaction and observed that the notification email doesnt have any body, even though we have the text in workflow log.   For the users who have the English language, they are getting the text in their mail, SOST and workflow log. Where as for the other languages (French, Chinese, Spanish etc...), they are getting the blank mail, (SOST doesnu2019t have body text) but in workflow log the correct text(based on user language) is getting displayed.
        I tested the same workflow in devlopment & quality, everything is working fine. All users (English & Non-English) getting mails in their respective languages. Where as in production, only for English users it is working, but for Non-English users it is not working.   I have compared all three environments workflow definitions and they are same. I do not understand why this is behaving differently in production. Could you please help me how do I resolve this issue. 
        May I know, does any one has faced similar issue. I request you to throw some light in this area.
       Thanks in advance.
    Regards,
    V.Nagaraju

    Hello,
    Interesting! That seems like a foolproof way to handle the language problem
    which can be a challenge in multi-language workflows. Please be sure to tell us
    how you solve this and what the cause was.
    You keep referring to the language of the "user". I assume you mean the
    mail recipient?
    You have to watch out with the workflow logs, they take the language settings
    of the person viewing it into account when displaying texts, unlike SOST.
    "I have used the Standard text objects (SO10) and read the text based on language of the user into the workflow container element"
    Which user actually executes the method to do this? Is it WF-BATCH?
    Are you using an actual SendMail step? And you reference the variable text_lines##
    in the task description?
    regards
    Rick Bakker
    hanabi technology

  • Send Mail step in ready state

    Hello Experts,
    I am a workflow novice, just starting out.
    I have copied the standard PO release workflow - WS20000075 and inserted a send mail step before activity "Release of purchase order". This was because I would like to send the PO as a PDF attachment to the approver.
    The send mail step works fine (i have custom object and method to attach and send mail), it sends out the mail with the attachment correctly, but the work item is in "ready state" and needs to be manually "completed" for the workflow to proceed. After this, the workflow proceeds perfectly.
    The send mail is marked as a background task and synchronous object method.
    What do i need to do for the "Release of purchase order" to happen as soon as the email has been sent out?
    Thanks a lot for the help.
    Regards,
    Parag.

    Hello Ravi,
    Thanks for the prompt reply, there are no erros in the workflow log.
    SWU3 was definitely done, standard PO Release workflow works fine and so do other ones. Its just that I copied the standard and inserted a new step.
    Do I somehow need to "terminate" the send mail step for the workflow to move over to the next activity ?
    Regards,
    Parag.

  • Mail step not working with expression

    Hi Experts,
    I am using the business object bus2080 for Tcode iw21, to trigger workflow on notification status change. I have mail step in my workflow,mail is being sent successfully when it has only text, but when i am using the expressions, say notification number in that mail, no mail is being send, getting error "Error handling for work item 000000660111".
    Please let me know your valuable comments on this issue.
    Thanks
    Ishtiyaq

    Hi Rob,
    The worflow container I am using is of the type BUS2080. Binding in the start event is as below
    Event -> Workflow
    &_EVT_OBJECT&     &ZBUS2080&
    and in the Mail Step
    Workflow-> Mail Step
    &ZBUS2080&     &ZBUS2080&
    Also in the mail subject and body  I am adding the expression using button 'Insert Expressions'.
    thanks,
    Ishtiyaq

  • E-Mail Step

    I have created E-Mail Step in  PR workflow. But i want to send this notification both sap Inbox and Out side mail.

    Hi Anil,
    Please refer the below links
    [Workitem intimation in the email (Outlook or Lotus Notes)|http://wiki.sdn.sap.com/wiki/display/ABAP/Workitemintimationintheemail]
    You can also refer the documentation of RSWUWFML2 report from SE38. It gives you complete details about its purpose.
    Refer [Extended Notifications|http://help.sap.com/saphelp_nw04/helpdata/EN/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm]
    KR,
    Bharath

  • Binding for sent mail step

    Hi expert,
                      I have to use send mail step in my workflow. The user name is availabe in the workflow container. I am also using the standard method SENDTASKDESCRIPTION but i dont know what shoud be the binding between workflow and task and task with method. I dont know what should be the Recipient type in the mail tab. Please help me this is the first time I am using send mail step.
    Thanks
    Raj

    Work item 000001079024: Object 000001079024 method SENDTASKDESCRIPTION cannot be executed
    Message no. WL821
    Diagnosis
    The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow.
    System Response
    The work item was forced into the error status.
    Procedure
    Refer to your workflow system administrator.
    Procedure for System Administration
    Also check the binding between the task container and the method container.
    this is the error mesege.  Please help me

  • 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.

  • 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

  • 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.

  • 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.

  • 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

Maybe you are looking for

  • Discoverer Report run by the Pastoral Board called: Registered Lessees

    Dear Friends, There is a report run by the Pastoral Board called: Registered Lessees DOL PN PLBU DATA ENTRY DRDL Pastoral Station Information Registered Lessees This report lists the information containted within the Pastoral stations module. The pas

  • Some songs can't be found-but others in same dir are OK!

    It's like this: I moved my account to my new MacBook Pro from my older Powerbook G4. Same dir structure across the board. Only thing I can think of that's different is the CPU... My iTunes library is transferred alright, all my playlists and what-hav

  • '*' in Query Formula Result

    Hi SDN, I am having a trouble with the result of a formula in query designer.  The result is showing up as '*', and I'm trying to figure out why.  I am using BW3.5.  The financial report is based on 0PCA_C01.  I have 0PROFIT_CTR hierarchy in my rows,

  • Flow of an Edge project

    Hello all- I was going to add this t the end of my last post but though it would be better to start a new discussion since it is a different subject :-) Here goes: Is it possible to add a symbol inside a symbol and if so is it a good idea to do so? I

  • How to test sitemaps in development environment (atg)

    Hi Experts, I am trying to generate sitemaps and sitemapindex files for our application. We completed all the configuration level changes like configuring StemapGenerators and SitemapIndexGenerator in SitemapGeneratorService and also able to write al