Starting Workflow mailer from backend

Hi all,
Greetings of the day...
Have customized the workflow mailer by name 'WF_MAILER_FOR_ALR_ONLY' and have put a script like the below to send a mail if this mailer stops
select COMPONENT_NAME,COMPONENT_STATUS,COMPONENT_ID
  from fnd_svc_components
where COMPONENT_NAME='WF_MAILER_FOR_ALR_ONLY'
   and component_status != 'RUNNING';
How do i start the manager from backend? Has anyone has written a script for automatically starting the workflow mailer when it stops?thanks,
baskar.l

I do not know of any way you can - pl see MOS Doc 459936.1 (Is it possible to restart The Workflow Agent Listener from prompt)
HTH
Srini

Similar Messages

  • Cannot Start Workflow Service from Service Manager

    Hello Professionals,
    I have a problem with starting Workflow service from Service manager,
    I have configured all the settings and connection to database was successful.
    However, after closing the settings window and try to start the workflow service, i got "Cannot start Service; configuration is not correct or cannot connect to database"
    What may cause this issue?
    Thanks and Best Regards,

    Hi,
    Please check SAP note:
    2019304 - Workflow server connection stops if many workflow
    instances with script tasks run simultaneously
    Thanks & Regards,
    Nagarajan

  • Unable to start workflow manually from Internet Explorer

    I am not able to start a workflow manually from Internet Explorer 9.
    I created a workflow that can be started manually, but when i try to launch it from the following button :
    A blank page appears and nothing happens.
    I tried from Firefox and it works perfectly. When I click on that button the following page appears :
    When I open the same page in IE 9, the console shows the following errors :
    SEC7113: CSS was ignored due to mime type mismatch
    FormResource.aspx?solutionId=AE2MT6ZDYU6VIS4DCBEFY3XETVC6KAJPMZZC6Y3PNVWXK3TJMNQXI2LPNYXVO33SNNTGY33XOMXUG33NNV2W42LROXB2SIDEMUQHA4TFONZWKIDQMFZCA3LBNFWCAKCBIVLSARLVOJXXAZJAKBQXE2LTFQQE4QKNJEQOFAETEBAUKVZAIV2XE33QMUWCAQKFK4QEK5LSN5YGKICTI5ICYICMOV4GK3LCN52XEZZJF5BW63LNOVXGS4LVYOUSAZDFEBYHEZLTONSSA4DBOIQG2YLJNQQCQQKFK4QEK5LSN5YGKICQMFZGS4ZMEBHECTKJEDRIBEZAIFCVOICFOVZG64DFFQQECRKXEBCXK4TPOBSSAU2HKAWCATDVPBSW2YTPOVZGOKJOPBZW4KSYMRIG43DPPBAVU6RRGU2GY4TDMZRHMWDTG5JHEVDQKRHXO6TZJBKU6MCRKRHWESDXHA&view=0&browser=IE&viewFile=View%2Ecss&version=1
    SCRIPT5009: « _spBodyOnLoadFunctionNames » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=*****************.aspx,
    Ligne 187 Caractère 1
    SCRIPT5009: « Sys » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=***********.aspx,
    Ligne 323 Caractère 1
    SCRIPT5009: « _spBodyOnLoadFunctionNames » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=http******%2FForms%2FAllItems%2Easpx,
    Ligne 641 Caractère 12
    SCRIPT5009: « ExecuteOrDelayUntilScriptLoaded » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=http************%2FForms%2FAllItems%2Easpx,
    Ligne 868 Caractère 4163
    SEC7115: ":visited and :link styles can only differ by color. Some styles were not applied to :visited."
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=http***************.aspx
    SCRIPT5009: « ProcessImn » is undifined
    script block (1), Ligne 3 Caractère 1
    SCRIPT5009: « getTmp » is undifined
    script block (2), Ligne 3 Caractère 1
    How can I fix that ?

    Hi Mehdi,
    It seems that the JavaScript is blocked in IE.
    I recommend to enable Scripting in IE to see if the issue still occurs.
    http://www.enable-javascript.com/
    And please also add the .css to the mime types in Internet Information Services (IIS).
    http://forums.asp.net/t/1982300.aspx?CSS+was+ignored+due+to+mime+type+mismatch+How+to+configure+IIS6+
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Starting Lion Mail without importing old mails?

    with the upgrade to Lion OSX, I lost access to my mails!
    Starting Lion Mail it asks to import old mails. Only other choice is cancelling the process.
    It then spends around 1hour loading (invisibly) old mails into new Lion mail (ca. 260,000 mails.)
    Right before the end of the importing process, it breaks up and send error message that some index has been distroyed.... should restart mail... and it would then repair the index... THIS IS NOT THE CASE.
    I am stuck.
    Can anyone please tell me, if it is possible to start Lion Mail from scratch preventing it from importing old mails automatically?
    I have erased com.mail.plist as well as all folders related to my old emails, but it manages to find the old mails somewhere in the invisible parts of the computer (MacBook Pro).
    Thanks for helping out

    Those Mail messages are in the Mail folder of your user's Library folder.  With Mail not running, in the Finder hold down an "option" key while you pull down the "Go" menu.  Select Library from the menu list.  In the resulting Finder window move the folder Mail to the Desktop.  You should now be able to launch Mail without that import problem.  This is a guess, but you may be able to import the contents of specific mailboxes from the saved Mail folder.

  • Workflow Mailer stops picking up notifications after IP address changes

    We changed the IP address of our Domain Controllers this afternoon. Soon after we did this, I noticed that notifications in the WF_NOTIFICATIONS table were not being processed.
    FND_SVC_COMPONENTS showed that the mailer was running, and I was able to telnet into the Exchange server (our mail server) from the PRODuction/admin/concurrent processing tier.
    OAM showed the mailer was running and I was able to stop and start the mailer from the GUI from the OAM.
    Does anyone have any ideas as to whether a Application tier bounce would help with us with this?
    Tks

    Yes - there were errors in the log file (as shown below)
    [Mar 2, 2010 2:16:03 PM CST]:1267560963744:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:mkewis01.drs-pct.com:10.40.9.61:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17842-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.send(Message)]:Problem occured whee n sending to {[["Sentieri, Gerald L" <[email protected]>]]} -> javax.mail.MessagingException: 451 Sender domain must resolve
    There were several of these - one for each notification that was not being processed from the WF_NOTIFICATION table - with the same error message.
    While we were experiencing this problem, I bounced the mailer. This had no effect.
    Not sure if the IP's of the old domain controllers are cached anywhere.....and whether a biounce of just the APPS stack will force the expiry of the lease of the IP address of the old domain controllers.

  • How to get mail from Outlook to SAP GUI (workflow)

    Hi All ,
    How can we get a mail from outlook or personal mail into SAP GUI .
    can it be used as an event for 'wait for event step ' in workflow . ?
    Thanks ,
    Naval bhatt

    Hi Naval,
    I just want to clarify some areas from your question:
    1. Will a workflow be triggered because of the email from Outlook to SAP? Does it always have to start from the Outlook side?
    The integration of SAP Workplace (thru Workflow) and Outlook is possible using the Extended Notification (tcode SWNCONFIG). Here, you can send an email from SAP to Outlook then execute a function from your Outlook message and then you will be directed to the tcode of SAP side (SAP GUI).
    Regards,
    Reymar

  • How to purge Workflow queue after R12 upgrade before starting WF Mailer?

    Hi,
    We are about to upgrade to R12.1.3 from R11.5.9.
    As part of the testing, I configured and started the Workflow Mailer in the new system. As soon as I did that, the system started sending a ton of notifications regarding past Requisition approvals apparently queued in the system. WF Mailer has been down since I did the last upgrade test.
    We plan to approve all requisitions before the cutover in the old system, so there should be no email notifications pending. Is there a way of updating msg_state of those notifications in the wf_notification_out table with a value of "READY", so we can make sure that we will have a clean system and users will not receive any notifications regarding the past requisition approvals?
    Thanks,
    Sinan

    Please see these docs.
    Note: 847889.1 - Stop Workflow Notification Emails During Clone
    Note: 828812.1 - How To Stop Old Outbound Workflow Notification Email Messages During Clone Activity
    Note: 603003.1 - How To Remove Workflow Data On A Test Or Cloned Instance
    Note: 372933.1 - How to purge e-mail notifications from the workflow queue so the e-mail is not sent
    Note: 736508.1 - How to Cancel Email Notifications for Particular Workflow Type
    Regards,
    Hussein

  • Unable to start Workflow Notification Mailer

    Hi
    we are using oracle11i(11.5.10.2) with Database version 10.2.0.3 .
    i am unable to start Workflow Notification Mailer. please verify below log information.
    13/05/2009 AST 10:34:23 طµ]:1242200063297:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
    [13/05/2009 AST 10:34:23 طµ]:1242200063297:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
    [13/05/2009 AST 10:34:23 طµ]:1242200063297:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
    [13/05/2009 AST 10:35:06 طµ]:1242200106875:Thread[ComponentMonitor,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10006
    [13/05/2009 AST 10:35:11 طµ]:1242200111125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:(BusinessEvent{name=oracle.apps.fnd.cp.gsc.SvcComponent.start, key=SVC:13-05-2009, priority=50, correlationId=null, sendDate=Wed May 13 10:35:07 AST 2009, receiveDate=null, From Agent:  , To Agent:  , Last Subscription=  , Error Message=null, Error Stack=null, BES_PAYLOAD_OBJECT=false, CONTAINER_PROCESS_ID=17109, [email protected], CONTAINER_TYPE=GSM, COMPONENT_ID=10006})
    [13/05/2009 AST 10:35:21 طµ]:1242200121125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.handleComponentEvent(int, String, String)]:Successfully retrieved component details from the database
    [13/05/2009 AST 10:35:23 طµ]:1242200123312:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10006
    [13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[fnd.wf.mailer.URLMIMEContent]:oracle.apps.fnd.wf.common.GenericHTMLContentParser.GenericHTMLContentParser(Log, int, int, int) Unable to establish a WebSession
    [13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.initialize(Connection, NLSContext, Logger, Properties)]:NoRouteToHostException when initializing OutboundFormatter
    [13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
    [13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
    [13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
    [13/05/2009 AST 10:36:06 طµ]:1242200166891:Thread[ComponentMonitor,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10006
    [13/05/2009 AST 10:36:11 طµ]:1242200171125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:(BusinessEvent{name=oracle.apps.fnd.cp.gsc.SvcComponent.start, key=SVC:13-05-2009, priority=50, correlationId=null, sendDate=Wed May 13 10:36:07 AST 2009, receiveDate=null, From Agent:  , To Agent:  , Last Subscription=  , Error Message=null, Error Stack=null, BES_PAYLOAD_OBJECT=false, CONTAINER_PROCESS_ID=17109, [email protected], CONTAINER_TYPE=GSM, COMPONENT_ID=10006})
    [13/05/2009 AST 10:36:21 طµ]:1242200181125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.handleComponentEvent(int, String, String)]:Successfully retrieved component details from the database
    [13/05/2009 AST 10:36:23 طµ]:1242200183391:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10006
    [13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[fnd.wf.mailer.URLMIMEContent]:oracle.apps.fnd.wf.common.GenericHTMLContentParser.GenericHTMLContentParser(Log, int, int, int) Unable to establish a WebSession
    [13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.initialize(Connection, NLSContext, Logger, Properties)]:NoRouteToHostException when initializing OutboundFormatter
    [13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
    [13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
    [13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
    [13/05/2009 AST 10:37:06 طµ]:1242200226891:Thread[ComponentMonitor,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10006
    [13/05/2009 AST 10:37:11 طµ]:1242200231125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:(BusinessEvent{name=oracle.apps.fnd.cp.gsc.SvcComponent.start, key=SVC:13-05-2009, priority=50, correlationId=null, sendDate=Wed May 13 10:37:07 AST 2009, receiveDate=null, From Agent:  , To Agent:  , Last Subscription=  , Error Message=null, Error Stack=null, BES_PAYLOAD_OBJECT=false, CONTAINER_PROCESS_ID=17109, [email protected], CONTAINER_TYPE=GSM, COMPONENT_ID=10006})
    [13/05/2009 AST 10:37:21 طµ]:1242200241125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.handleComponentEvent(int, String, String)]:Successfully retrieved component details from the database
    [13/05/2009 AST 10:37:23 طµ]:1242200243375:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10006
    [13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[fnd.wf.mailer.URLMIMEContent]:oracle.apps.fnd.wf.common.GenericHTMLContentParser.GenericHTMLContentParser(Log, int, int, int) Unable to establish a WebSession
    [13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.initialize(Connection, NLSContext, Logger, Properties)]:NoRouteToHostException when initializing OutboundFormatter
    [13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
    [13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
    [13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup
    Thanks
    With Regards
    Umair

    Hi Umair,
    oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is nullPlease check the connectivity with the mail server.
    Anchorage :)

  • Sending mail from workflow or Updating container from FM

    Dear friends,
    I'm new to work flow.
    My requirement: send mail from workflow to a user after dead line is missed I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Hi,
    => To get the deadline worked via programming, you can write your own logic. In current case,
    1. Create a custom function, having proper input and output parameters like End Time to wait if in case you have maximum of 2 days of wait.
    The total wait time is calculated from the Endtime, which is input to function module.  From the Endtime, the start date and end date are calculated and then the difference between the two dates is counted as total wait time.
    Here at the most 2 days of wait time is calculated.
    * Local parameters
      DATA: LV_UTCSTART TYPE /SDF/CMO_TSTMP,
            LV_UTCEND   TYPE /SDF/CMO_TSTMP,
            LV_SECOND   TYPE /SDF/CMO_SEC,
            LV_ENDDATE  TYPE SY-DATUM,
            LV_STR TYPE STRING.
      IF ENDTIME >= SY-UZEIT AND ENDTIME <= '235959'.
    *   Today's date
        LV_ENDDATE = SY-DATUM.
      ELSE.
    *   Tomorrow's date
        LV_ENDDATE = SY-DATUM + 1.
      ENDIF.
    * Get the Start Time for function module
      CONCATENATE SY-DATUM SY-UZEIT INTO LV_STR.
      MOVE LV_STR TO LV_UTCSTART.
      CLEAR LV_STR.
    * Get the End Time for function module
      CONCATENATE LV_ENDDATE ENDTIME INTO LV_STR.
      MOVE LV_STR TO LV_UTCEND.
      CLEAR LV_STR.
    * Get the total wait time in seconds
      CALL FUNCTION '/SDF/CMO_TIME_DIFF_GET'
        EXPORTING
          UTC_START = LV_UTCSTART
          UTC_END   = LV_UTCEND
        IMPORTING
          SECOND    = LV_SECOND
        EXCEPTIONS
          PARAMERR  = 1
          OTHERS    = 2.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Wait for total time
    WAIT UP TO LV_SECOND SECONDS.
    2. Now, create one method in the BOR object whose event triggers your workflow.
    3. Use this method in an activity step in you workflow where you want to wait on some given conditions.
    => You can use the email ID which was given by earlier step in Send Mail step. Just make your email id field as Export/Import <i><b>AD_SMTPADR</b></i> type of parameter. In the send mail, use this Id in Email Address input.
    Hope this helps your.
    PS If the answer solves  your query, plz close the thread by marking it Solved and rewarding each reply.
    Regards

  • HT3228 I have an iphone4 (Verizon) and an iPad (AT&T), and starting this morning, neither device will receive mail from my Yahoo account. I can send email from that account (from either device), but nothing is coming into my inbox. Help!

    I have an iphone4 (Verizon) and an iPad (AT&T), and starting this morning, neither one is receiving my mail from Yahoo. I can send an email from Yahoo on both devices, but I can't see any messages. It's clear that both devices know how many messages are in my inbox and how many are unread (I get a "Load More Messages" notice. Any ideas on how this can be fixed? After reading thru some discussions, it looks like the new operating system may be to blame. I only updated in the last few days... Help!

    Yahoo's mail service is notoriously buggy.  It's not your phone or your device.

  • I am having problems gettting my mail to work ... Mac telling me that my start up disk id full and to delete some files to free up space ... have done this but when i open mail from the dock it just brings up the colour wheel and nothing happening

    I am having problems gettting my mail to work ... Mac telling me that my start up disk id full and to delete some files to free up space ... have done this but when i open mail from the dock it just brings up the colour wheel and nothing happening ... it shows when you right click on the mail icon that " application not responding"

    If your hard drive is getting full, you need to free up, at least, 20 GBs of space on your iMac's hard drive.
    If your Mac is running a fairly recent version of OS X, here are some general guidelines.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Other things you can do to gain space.
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it run the automatic ans S.M,A.R.T. tests,  then go to the cleaning and maintenance tabs and run the tabs that have the ability to clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • How to start BPM Process in Netweaver CE 7.1 from backend

    Hi,
    since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
    In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
    Greetings,
    Manuel

    Hi,
    Netweaver BPM process can be started in two ways:
    1. Using NWA by instantiating a process
    2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    Hope this helps!!
    Regards,
    Arafat

  • Can not send mail from PR Workflow to the approver

    Dear all,
    I have issues about send mail from PR Workflow to the approver.
    Now when user create PR and the corresponding user can receive the workflow items in SBWP.
    But no email from the user to approver.
    If I assign authorization SAP_ALL to the user that create PR. The approver can recieve the workflow item PR in SBWP and email to their mail
    Can you tell me about the authorization that can allow the user to send the workflow item PR in SBWP and email to the approver?
    Now user can send mail to external and internal mail and I also configured the mail server in SCOT and can successfully send a mail to users in SO01 by manually creating a message.
    Now the approver not receive any email but can receive a workflow item in SBWP
    Regards,
    Pannee

    Dear all,
    Thank you for all suppport, Now I can solve issues.
    Regards,
    Pannee

  • Starting Workflow from Generic Object Services

    Hi All.
    We are on ECC6. In transaction MM02 when I excute 'Start Workflow' from Generic Object Services, no workflows are found. Can anyone help me with the following issues;
    1. What is the underlying object in transaction MM02 (I believe it is BUS1001006)
    2. How can i ensure that the proper workflows in this transcation are started through some  
        customisation, enhencement or user-exit.
    Regards.

    I think you have to maintain the Workflow Template as General Task and then only it will appear in the GOS.
    Thanks
    Arghadip

  • Sending Mail from workflow or updating container elements

    Dear friends,
    I'm new to work flow.
    My requirement: <b>send mail from workflow to a user after dead line is missed</b> I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Reposted under different thread

Maybe you are looking for

  • Problem in data transfer from R3 to BW in HR cube

    Hello Gurus, I am facing one problem when i am uploading data in HR Cube <b>Qualification</b> (0PAPD_C01). When i am uploading from R3 to BW it is giving 0 records. Also it is giving green signal. But in my R3 extractor, 7,350 records is available. S

  • Seperate include directory for i486-mingw32 cross-compiler toolchain

    I've installed the mingw32 cross-compiler. I noticed that when using this compiler, a seperate, non-standard include directory is used. So instead of copying all of the dependencies headers to compile the software, is there an easier way of including

  • Output to Word displays htt file header/footer

    We recently had to update our headers and footers in both .html and .doc output. After making the change in Project Manager and applying it to all topics, we then generated Word, and in the output it applied the htt/html changes to Word. In other wor

  • Java is part of the Mac OS?

    hi I found a thread where it was said: "If you want fast loading java, get an Apple. Java is part of the OS. " I would like to know if it is true because I am interested in fast java loading at startup. thanks in advance

  • Trying to reinstall my backed up iphoto libary

    What I did. 1) backed up my library to an external hard drive. It was approx 100 gb and if I recall around 20000 photos, maybe a few more 2) took my MacBook to an apple store and had it totally reset When I went to reinstall I dragged my library from