Send email if any step fails in Process Chain
I want to send an email if any step in the Process Chain fails. I know I can add a Message to each step but this is very cumbersome. I was trying to use the 'OR' collector and link each one of my steps to the 'OR' if it fails. I can do this for every step but the very last one. It does not allow me to drag a line from my last step to the 'OR'. Can someone tell me why?
Thanks.
Ryan
Boater,
I am not able to understand the scenario, but from what I understand you should be able to connect to. Could you explain?
Goodluck,
Alex(Arthur Samson)
Similar Messages
-
Initiate and Fill BIA Index Step Fails in Process Chain
HI!
In our weekend scenario for a cube, we refresh the data in a cube. What we do is, we delete BIA indexes before the data refresh in the cube, load the data, recreate the indexes using "Initialize and Fill BIA" step.
Last run the filling process failed and in the log it showed this message:
Lock for table 'table name'. Job will be restarted again later
We have it for many tables and at the end of the log:
FILLING_FAILED >CHECK LOG!!!!!
Please any advice in this?
Thanks,
Ghassan MatarHI!
After the investigation, we found that the root cause of the lock is the ODS Activation. We have two ODS's activation jobs running at the same time we were initialize and fill BIA indexes. We tested that in Staging and it causes the lock as well.
We implemented the Note 1223239 by setting the following parameters:
WRITEINDEX = 180
WAITTIME = 60
This weekend, the ODS Activation step ended before the BIA Initialize and Fill step by 4 minutes. The step created the indexes for the cube tables but it didn't continue to fill any index and it failed.
The Log is here.
NEW INDEX: /BI0/SVTYPE RSD_TREX 100 S
NEW INDEX: /BI0/SSALESORG RSD_TREX 100 S
NEW INDEX: /BIC/SZREGION RSD_TREX 100 S
Event RSPROCESS with parameter 4L1CWG1AC7C479GIO3Z5A5GPH successfully triggered RSMPC 090 S
Job finished 00 517 S
Also, after implementing the note: 1223239 with the parameters above, THE ODS Activation step was running in parallel with BIA Initalize and Fill step. the lock occured and after the completion of ODS Activation step all the locked tables get unlocked and filled properly except for 5 tables. It seems to me like kind of dead lock between these 5 tables. they take all the remaining time of the step and at the end BIA Initalize and Fill fails.
If you will notice in our log, it is only 5 tables remaining and they are repeated every minute. At the end, the step failed.
03:59:26 Lock for table '/BIC/SSEGRULE'. Job will be restarted again later
03:59:26 Lock for table '/BIC/SNPM_YEAR'. Job will be restarted again later
03:59:26 Lock for table '/BIC/SNPM_ENDYR'. Job will be restarted again later
03:59:26 Lock for table '/BIC/SNPMPERCNT'. Job will be restarted again later
03:59:26 Lock for table '/BIC/SDOMRULE'. Job will be restarted again later
04:00:26 Lock for table '/BIC/SSEGRULE'. Job will be restarted again later
04:00:26 Lock for table '/BIC/SNPM_YEAR'. Job will be restarted again later
04:00:26 Lock for table '/BIC/SNPM_ENDYR'. Job will be restarted again later
04:00:26 Lock for table '/BIC/SNPMPERCNT'. Job will be restarted again later
04:00:26 Lock for table '/BIC/SDOMRULE'. Job will be restarted again later
04:01:26 Lock for table '/BIC/SSEGRULE'. Job will be restarted again later
04:01:26 Lock for table '/BIC/SNPM_YEAR'. Job will be restarted again later
04:01:26 Lock for table '/BIC/SNPM_ENDYR'. Job will be restarted again later
04:01:26 Lock for table '/BIC/SNPMPERCNT'. Job will be restarted again later
04:01:26 Lock for table '/BIC/SDOMRULE'. Job will be restarted again later
04:01:26 FILLING_FAILED >CHECK LOG!!!!!
04:01:27 Entire chain now has status 'R'
04:01:28 Process ABAP Program, variant Rebuild BIA Indexes - Daily Inventory - End of Pro has status Undefined (instance )
Please advise.
Thanks,
Ghassan Matar -
Script to send email if any service failed
Hi,
I want to monitor all services on server. In case of a service failure, it will send an email to a particular email address. In this way administrator will be notified that there is a service failure, and he will take necessary measures.
Any help will be highly highly appreciated.
Regards,
AneesstrComputer = "."
Dim objFSO1
set objFSO1=Createobject("Scripting.Filesystemobject")
if (objFSO1.FileExists("path to log file")) then
objFSO1.DeleteFile("path to log file")
wscript.sleep 3000
end if
if strComputer = "" then wscript.quit
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colRunningServices = objWMIService.ExecQuery _
("Select State from Win32_Service where Name = 'ServiceName'")
For Each objService in colRunningServices
If objService.State <> "Running" Then
ErrorMessage objService.Name & VbTab & " is " & objService.State
else
ErrorMessage "Service is running"
End If
Next
Sub ErrorMessage (ByRef strMessage)
' Create Log File
Dim objFSO, objOutPutFile
Const ForAppending = 8
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objOutputFile = objFSO.OpenTextFile("path to log file", ForAppending, True)
objOutputFile.Writeline(strMessage & vbCRLF)
objOutputFile.Close
End Sub
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "from-email-address"
objEmail.To = "to-email-address"
objEmail.Subject = "anything you want"
objEmail.Textbody = "Windows Service State Report. See Attached." ' or anything you like better
objEmail.AddAttachment "Path to log file"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp-server-fqdn or IP"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objEmail.Configuration.Fields.Update
objEmail.send
Hope this helps.
Regards,
Calin -
Cannot send email with any of my accounts on Mail 5.2
I have a Mac Book Pro
Mac Os X 10.7.4
Mail 5.2
I have many diferent email accounts (gmail, hotmail, prodigy.net.mx, etc)
Some are POP, some are IMAP
I have another computer, an iMac with older system and older Mail app. and used same setup for all accounts
I can receive emails, but I cannot send emails on any of the accounts. I have quadruple checked all settings and all seems to be ok.
All smtp connections appear as not connected, yet different servers, or email suppliers, this makes me suspect something else is wrong.
Any ideas? Help would be appreciated.Just FYI, I've had the same problem for months now. I have been accessing my hotmail via the web, but decided to try the OS X Mail app. I could get emails into the account with no problem but couldn't send. I read all the blog and support entries and have tried everything they recommended, like changing my computer name to one word, without success. Then last night, it just so happened that my broadband provider had to change out my wireless modem. As soon as he plugged in the new one, some emails that had been in my outbasket for a month went through instantly and all of a sudden my Mail, both incoming and outgoing now work. So I think people need to look at their router settings for the a solution to the problem.
-
Basically there are 3 different functions for various "tests"; they each return "1" if the test passes and "0" on failure. A "master" function calls these 3 functions in the desired order and keeps a counter
of tests that pass. The counter has to be 1 to proceed to step 2, has to be 2 to proceed to step 3, and when it's 3 the loop closes.
This approach is giving the expected results, but I was wondering if anyone has ideas on a cleaner approach? What I really wanted to accomplish was to have the 3 tests past in succession and to provide an overall pass and proceed to the next step;
and also to exit the function if any step fails rather than running through each step before trying again. If the script were to for example loop through the 3 tests and wait until each one passes, tests 1 and 2 might pass, but then 3 might fail
a few times and finally pass before the script exits. I did not want to allow for that scenario to count as an overall pass.
Function Test1 {
If PASS Return 1
If FAIL Return 0
Function Test2 {
If PASS Return 1
If FAIL Return 0
Function Test3 {
If PASS Return 1
If FAIL Return 0
Function TestAll
[int]$counter = 0
$Check1 = Test1
If ($check1 -eq 1) {$counter++}
If ($counter -lt 1) {Exit}
Start-Sleep -s 15
$check2 = Test2
If ($check2 -eq 1) {$counter++}
If ($counter -lt 2) {Exit}
Start-Sleep -s 15
$check3 = Test3
If ($check3 -eq 1) {$counter++}
If ($counter -lt 3) {Exit}
Return $counter
Do {$STATUSCOUNT = TestAll}
While ($STATUSCOUNT -lt "3")This is cleaner:
Function Test1 {
If PASS Return 1
If FAIL Return 0
Function Test2 {
If PASS Return 1
If FAIL Return 0
Function Test3 {
If PASS Return 1
If FAIL Return 0
Function TestAll{
while($true){
while($true){
$counter=0
if(($counter+=Test1) -ne 1){break}
if(($counter+=Test2) -ne 2){break}
if(($counter+=Test2) -ne 3){break}
return
Write-Host ('try again' + $counter) -fore
TestAll
Of course all of your test functions have syntax errors.
\_(ツ)_/ -
I have an iPhone 5s running ios 7.1. I am unable to send emails to any of my own email addresses from my iphone.
This is a new problem.
-
Failed to send email report ,The transport failed to connect to the server
HI i have to automate my report using sub
1.I have configured SMTP server in the configuration settings
2. I have created subscitption using my report,But i here i will found one error.
Please find the
failed to send email report ,The transport failed to connect to the server
and can u please help me out for this
when i check in the loge files it will show this error below
No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;I have change the settings as u suggested but still not able to send the mail .
its shows me the same error mesg
<Header>
<Product>Microsoft SQL Server Reporting Services Version 2009.0100.1600.01 ((KJ_RTM).100402-1539 )</Product>
<Locale>English (United States)</Locale>
<TimeZone>W. Europe Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\Logfiles\ReportServerService__02_10_2015_03_44_06.log</Path>
<SystemName>WEGDACM1</SystemName>
<OSName>Microsoft Windows NT 6.1.7601 Service Pack 1</OSName>
<OSVersion>6.1.7601</OSVersion>
<ProcessID>10420</ProcessID>
<Virtualization>Hypervisor</Virtualization>
</Header>
rshost!rshost!28d0!02/10/2015-03:44:06:: i INFO: Currently registered url http://+:80/ReportServer_MSSQLSERVEREPORT/ on endpoint 2
rshost!rshost!28d0!02/10/2015-03:44:06:: e ERROR: Failed to register url=http://+:80/Reports/ for endpoint 3, error=b7.
rshost!rshost!28d0!02/10/2015-03:44:06:: w WARN: Endpoint 3 is enabled but no url is registered for vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\ReportManager.
servicecontroller!DefaultDomain!28f4!02/10/2015-03:44:06:: e ERROR: Error creating HTTP endpoint. System.Runtime.InteropServices.COMException (0x800700B7): Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)
at Microsoft.ReportingServices.HostingInterfaces.IRsUnmanagedCallback.CreateHttpEndpoint(RsAppDomainType application, String[] urlPrefixes, Int32 cPrefixes, String[] hosts, Int32 cHosts, Boolean wildCardPresent, String virtualDirectory, String
filePath, Int32 authType, Int32 logonMethod, String authDomain, String authRealm, Boolean authPersist, Int32 extendedProtectionLevel, Int32 extendedProtectionScenario, Boolean enabled)
at Microsoft.ReportingServices.Library.ServiceAppDomainController.SetWebConfiguration(RunningApplication rsApplication, Boolean enabled, String folder)
rshost!rshost!28d0!02/10/2015-03:44:06:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer_MSSQLSERVEREPORT/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\ReportServer\ReportBuilder.
rshost!rshost!28f4!02/10/2015-03:44:06:: i INFO: Derived memory configuration based on physical memory as 16776696 KB
servicecontroller!DefaultDomain!28f4!02/10/2015-03:44:06:: i INFO: Recycling the service from the default domain
rshost!rshost!28f4!02/10/2015-03:44:17:: i INFO: Application domain type WindowsService statistics: created: 10, unloaded: 10, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!28f4!02/10/2015-03:44:17:: i INFO: Appdomain:12 WindowsService_10 started.
library!WindowsService_10!28f4!02/10/2015-03:44:17:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
servicecontroller!WindowsService_10!28f4!02/10/2015-03:44:17:: e ERROR: Error initializing configuration from the database: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration
error.
resourceutilities!WindowsService_10!28f4!02/10/2015-03:44:18:: i INFO: Reporting Services starting SKU: Enterprise
servicecontroller!WindowsService_9!28f4!02/10/2015-03:44:18:: i INFO: Service controller exiting.
appdomainmanager!DefaultDomain!28f4!02/10/2015-03:44:18:: i INFO: Appdomain:11 unregistered.
appdomainmanager!DefaultDomain!28f4!02/10/2015-03:44:18:: i INFO: Appdomain:11 WindowsService_9 unloading.
appdomainmanager!DefaultDomain!e24!02/10/2015-03:44:18:: i INFO: AppDomain:11 0 pending unload(s)
library!WindowsService_10!19f0!02/10/2015-03:44:18:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
library!WindowsService_10!19f0!02/10/2015-03:44:18:: e ERROR: ServiceStartThread: Exception caught while starting service. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration
error.
library!WindowsService_10!19f0!02/10/2015-03:44:18:: e ERROR: ServiceStartThread: Attempting to start service again...
library!DefaultDomain!1ca8!02/10/2015-10:55:23:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
This is my Logfile can u pls go through it and resolve my issue. -
IPad 2 will not send email from any app except from my actual email app
IPad 2 will not send email from any app (eg camara, pdf edit apps, evernote ect.) except from my actual email app. It will send email from my email account in the mail app or online. Pls help :-/
I had this problem
I hit the power button and the round button at the same time and held it until it rebooted
You get the black screen and the apple logo
When that was done I want to the app and update screen and I was able to update my apps
I suggest when you update stay on that screen until they all update
I find it sometimes get stuck updating when I leave the screen as they are updating and do other things, but I could be wrong. It just seems to me that is when it happens.
The reboot works and don't worry you don't lose anything when u reboot it's like shutting down a computer and powering it back up. Everything you had before will still be there. -
Step by Step documents for Process Chain Error Handling with Screen Shots
Hi
Is anybody having Step By Step Documents for Process Chain Error Handling with Screen Shots ?. Please forward it to me to my e-mail [email protected] . I will reward points to u immediately.
bye
Aamira KhanHi,
You can find lots of topic related to process chain issues in SDN.Please make a search in SDN.
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_library&query=process+chain&adv=true&sdn_author_name=&sdn_updated_on_comparator=ge&sdn_updated_on=&sortby=cm_rnd_rankvalue
Regards. -
Hello everybody,
I am using a ABAP Program in a Process Chain ( Chain of Processes that load data to the BW Cube). I do some check in the Program. If the check is OK, then I will continue with the Process Chain. If the Check Fails, then I should fail the Process Chain.
How do I accomplish this? If you can give me Piece of code, that will be very helpful.
Thanks in advance.
ShameemHi Shameem,
Plss Set the value of the sy-subrc to a non zero value so that the ABAP program step in Process Chain turns RED and Hence the Process Chain will stop.
Shreya -
Is there any way to execute process chain from the portal?
Hello,
Is there any way to execute process chain from the portal? I dont want to link process chain with any of report. I want to have a button in some of portal folders. User presses the button and it executes the process chain.
I was thinking about to create a fake planning cube, aggregation level and planning function. I call FM within the Fox planning function that runs the process chain. But it should be done within the report.
Any ideas?
Thanks a lot in advance!Hi.
I want to have a button in some of portal folders
You mean that you want to use some link in EP ?
Regards. -
Sending mail to GROUP ID when a process chain fails.
Hi All,
Can one suggest me, how to send a failure/success mail to a Group mial id when a process chain fails.
I am awere about sending mails to individual mail id's when a any process fails or succed. I want to know the group ID creation part & how to tag the same SOCT.
Thanks in advance.
BR,
Kiron.hi,
The Distribution List/Group_id is created in SO23 transaction.
hope it is helpful to u
thanks -
Unable to send emails from any Apple devices
Since BT made the changes to Yahoo mail i have had problems with sending emails from my ipad and iphone (IOS8). The only way that i can successfully send an email is to log onto my laptop and send from a windows platform. I have checked all of the settings which are correct and im stumped. I am continuing to receive mail so why cant i send mail? I have contacted the BT customer support to be told that they are not trained on ios platforms so they cant help! pretty gobsmacked with that reposnse tbh, anyone have any ideas?
You may want to delete the email account and try setting it up again. Once you have deleted it, re-start your phone.
Set it up manually and do not use the wizard.
It is best to go through settings >mail contacts, calendars > add account… > don’t choose the BT or BTYahoo option, tap the ‘other’ option from the bottom of the list > Add Mail Account and enter the following details:
Name – it can be anything you want, but usually your real name is preferable
Address – your full BT Internet email address
Password – your email account password
Description – this can be used if you have more than one email account on the device but put something like ‘work’ or ‘BT Internet
Press “Next” and allow the verification (this may take a few minutes)
On the next screen it will want you to input incoming and outgoing mail server details:
Tap ‘IMAP’ at the top,
Incoming mail server settings:
Host name: mail.btinternet.com
Username: your full BT Internet email address
Password: your email account password
Outgoing mail server settings:
Host name: mail.btinternet.com
Username: your full BT Internet email address
Password: your email account password
Press ‘next’
Slide the notes and mail to be ‘on’ and press ‘save’ in the top-right
Check your email on the device and see if it is working. Try sending yourself a message and see if it arrives. If messages are not able to send do the following:
Additional setting changes
Go to Settings > Mail, Contacts, Calendars > tap your BT email account > a window will appear, tap on your email address > scroll down to the bottom of the window and tap where it says ‘SMTP’ > tap the primary server (which should be mail.btinternet.com) >make sure the following is on or enabled:
‘Use SSL’ should be ‘ON’
Authentication should be ‘password’
Server port should be ‘465’
Press ‘done’ in the top-right -
After update, cannot send email via any accounts! Please help!
First of all, thank you for reading my thread.
After updating few days ago, I cannot send any email via any acounts. I have .mac email and yahoo email. But I still can receive emails. I have checked message borad, it said "Some members experienced difficulty sending .Mac Mail via computer email applications from 3:30 am to 6 am Pacific Time. Normal service has been restored." But mine hasn't!!! It has been almost a week!!
The erro message says "cannot send email using this mail server, please choose one of the following server and retry again"
My english is not very good, I hope you understand my question and any help would be appreciated, thank you again.Thank you very much for your reply!
This is what I got:
PING smtp.mac.com (17.250.248.45): 56 data bytes
--- smtp.mac.com ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
PING mail.mac.com (17.250.248.152): 56 data bytes
--- mail.mac.com ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
It seems the problem is the server, but it has been many days, I don't think apple haven't had notice this.
What should I do next? -
Problems sending email with any attachment
First off, I do have the latest firmware and I am using a BES.
Normal emails without an attachment, no problem. As soon as I attach anything, even very small attachements - it simply will not send. The only option is to abandon the email. Save does nothing, Send does nothing - so the only option is the Discard.
Anyone know of a solution?First step would be to contact your BES admin and ensure that there are no restrictions on sending email attachments. If there isn't, they may want to check other settings on your account to see if anything might be conflicting.
Good luck!
If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
If your issue is resolved, don't forget to click the Solution button on the resolution!
Maybe you are looking for
-
HP PhotoSmart Premium inkjet printer - model c309a will not always scan or copy
My HP PhotoSmart Premium injet printer (model C309a) will sometimes not scan a document. When I press the "Scan" or "Copy" button, the display shows "Scanning" but nothing happens.... Otherwise, the printer seems to work fine. This "will not scan"
-
Special characters doesn't show in drop-down list
I've created a two level drop-down menu using javascript var vComp1 = ["sub1","text1","text2","text3","text4"]; var vComp2 = ["sub2","text1","text2","text3","text4"]; var cRtn = app.popUpMenu(vComp1, vComp2); I't works like i wanted, but int the text
-
My new voice-over software won't read Adobe PDF files
I am using Adobe Reader X 10.1.10 and the Latest Voice Over software on my new Mac Mini! I use Voice-Voice-over software to help me read faster and the earlier adobe and voice-voice-over software worked great. The voice-over software is working wit
-
How many gb I need and is 16 bg enough.
how many gb I need and is 16 bg enough
-
Crystal Report Server 2008 V1 is there a SP3
I know that BO EDGE and CRS tend to be behind the ENTERPRISE product when it comes to patches and service packs. Can anyone confirm if SERVICE PACK 3 (SP3) has been Released yet for Crystal Report Server 2008 V1...? I can't see it on SAP Service Mark