How to get SCOM alerts and send single summary email of one's that have breached.
Hi,
I'm trying to create a runbook which does as the title suggests, ie I want to get the 'Active' alerts from the console which have breached our SLA, which is No Critical or Warning alerts in resolution state of New for more than 24 hrs, and emails this list
to an internal Distribution List of all the potential service owners. Its just intended as a daily email to poke the relevant people not to ignore the console alerts :-)
I'm able to Get Alerts OK, but from there I'm having diffs. I have been given a powershell (as I'm no good at Powershell myself) which does the filtering to get the relevant breached alerts, but when I pass output to other activities and ultimately
to the create/send email, I end up only able to get multiple emails, one be alert which matches the filtering from powershell. I have appended to a file to check that I can write the alert properties line by line, but for example if Ive 4 alerts then
I end up with 4 emails - I want one email with each alert detail (severity, Alert name, path,resolutionstate, Days/hrs in breach, Service Owner (custom Field 3) etc). I have toyed with flattening the output with line breaks and/or commas at various points
along the activity chain to ftry force a single iteration of te send email but this just messes the format to the point of not being useful.
So was wondering if anyone could advise if this is possible, esp if able to do it using the standard activities along with SCOM IP - I'm sure doing it all in powershell it a possible answer but I'm not proficient to do it - unless someone can provide
said script! :-)
Another possibility which has crossed my mind is to possible query the OpsMgr DB directly using the Alert ID from Get Alert but haven't tried tht yet. I think I' stuggling to understand the basic of how the data is passed from activities esp using
the 'flatten outpout method.. My current runbook has the fllowing activities:
GetAlert -> Run .Net (powershell for filtering for breaced alerts) -> AppendFile (to Check the alert output) -> Create/Send Email(to send summary email). What happens is if I have say 4 Breached emails in Console, when I run tester I
see GetAlert runs Once detail shows it has found 4 alerts), then each activity up the chain runs 4 times so that finally I end up with 4 emails.
If anyone has any suggestions it would be much appreciated - I can provide any more details/upload pic of current runbook if it helps...
Thanks...
Hi thanks for the suggestion. I've tried playing around with the runbook using the Junction activity infront of the sendmail. It doesnt appear to do anyting in itself (unless I'm not using it correctly). The only way I can get the email
to only send once is if I flatten the output from the returned data behaviour - this works if I flatten at the Get Alert stage without the Junction activity or if I use the junction an flatten it then the email fires once.
However the problem with this is that each field for each alert is written vertically, so if I have 3 alerts returning 3 pieces of returned data I get:
<Alert1 datafield1>
<Alert2 datafield1>
<Alert3 datafield1>
<Alert1 datafield2>
<Alert2 datafield2>
<Alert3 datafield2>
<Alert1 datafield3>
<Alert2 datafield3>
<Alert3 datafield3>
wereas I wan the dat to appear in horizonally with each alert details on each row as like when written to a file, ie
<Alert1 datafield1> <Alert1 Datafield2> <Alert1 DataField3>
<Alert2 datafield1> <Alert2 Datafield2> <Alert2 DataField3>
<Alert3 datafield1> <Alert3 Datafield2> <Alert3 DataField3>
Without the use of flatten, the email which fires once for each alert has the data displayed correctly. So essentially what I'm hoping to get is all returned alert details one per line/row in the body of the email...
If theres any easy way to do it withing the orchestrator activities would be great. Otherwise it looks like I might have to try find a powershell or SQL script to pull back alert data. Cheers...
Similar Messages
-
How to save ALV list and send listoutput as email in background process
Can anyone tell me if an ALV list report could be saved as LIST using 'LIST_TO_MEMORY' and then by using 'LIST_FROM_MEMORY' we need to read the list. If so How?
I don't want to use 'Submit....exporting list to memory and return' as then I have to trigger my program twice.
Finally with one program itself i want to get the listoutput and send the list output as an email to the customer in background.
I have gone through the forums and could see many of them facing the same problem, but could not find the solution in the forums.
Waiting for a reply
Santhoshiif you want to send mail with the same data as you display in ALV, you can use the same internal table,which you sent to ALV_LIST_DISPLAY function module.
take the email ids from the user on the selection-screen & use the below code to send mail to them.
call this FORM F_SEND_MAIL before you called the ALV function module.
FORM F_SEND_MAIL .
CLEAR WA_RECLIST.
REFRESH IT_RECLIST.
*-popualate email ids
*--Receipient 1
this receipient can be select-option from the selection screen. or can be hardcoded as below.
WA_RECLIST-RECEIVER = '[email protected]'.
WA_RECLIST-REC_TYPE = C_U.
WA_RECLIST-EXPRESS = C_X.
*--append receiver table
APPEND WA_RECLIST TO IT_RECLIST.
CLEAR : WA_RECLIST.
*--Receipient 2
WA_RECLIST-RECEIVER = '[email protected]'.
WA_RECLIST-REC_TYPE = C_U.
WA_RECLIST-EXPRESS = C_X.
*-append receiver table
APPEND WA_RECLIST TO IT_RECLIST.
CLEAR : WA_RECLIST.
*--populate document attributes
CLEAR: X_DOC_CHNG.
X_DOC_CHNG-OBJ_NAME = 'HEADING'.
CONCATENATE 'Japan BOL details for the delivery#'(003)
V_VBELN
INTO X_DOC_CHNG-OBJ_DESCR SEPARATED BY SPACE.
*-populate body text
CONCATENATE 'Japan BOL details for the Delivery#'(003)
CONCATENATE TEXT-003
V_VBELN
',is attached'
INTO WA_OBJTXT SEPARATED BY SPACE.
APPEND WA_OBJTXT TO IT_OBJTXT.
*---- Append Date and Time into Body of email.
MOVE 'File is generated on'(004) TO V_INFO.
V_TIME = SY-UZEIT.
WRITE : SY-UZEIT TO V_TIME USING EDIT MASK '__:__:__'.
CONCATENATE V_TIME+0(2)
V_TIME+2(2)
V_TIME+4(2)
INTO
V_TIME2 SEPARATED BY ':'.
WRITE : sy-datum MM/DD/YYYY TO lv_date .
CONCATENATE SY-DATUM+4(2)
SY-DATUM+6(2)
SY-DATUM+0(4)
INTO V_DATE.
CONCATENATE V_INFO
V_DATE
'At'
V_TIME2
INTO V_INFO
SEPARATED BY SPACE.
WA_OBJTXT = V_INFO.
APPEND WA_OBJTXT TO IT_OBJTXT.
*-document size
CLEAR : V_TABLE_LINES.
DESCRIBE TABLE IT_OBJTXT LINES V_TABLE_LINES.
READ TABLE IT_OBJTXT INTO WA_OBJTXT INDEX V_TABLE_LINES.
X_DOC_CHNG-DOC_SIZE =
( V_TABLE_LINES - 1 ) * 255 + STRLEN( WA_OBJTXT ).
*-populate packing list for body text
CLEAR IT_OBJPACK-TRANSF_BIN.
WA_OBJPACK-HEAD_START = 1.
WA_OBJPACK-HEAD_NUM = 0.
WA_OBJPACK-BODY_START = 1.
WA_OBJPACK-BODY_NUM = V_TABLE_LINES.
WA_OBJPACK-DOC_TYPE = 'RAW'.
APPEND WA_OBJPACK TO IT_OBJPACK.
CLEAR WA_OBJPACK.
*--for attachment
*--add Internal table lines here, as attachment.
*--IT_FINAL IS THE internal table which you used to display the result as ALV output
loop at IT_FINAL.
CONCATENATE IT_FINAL-FIELD1
IT_FINAL-FIELD2
*--AND SO ON
INTO WA_OBJBIN.
APPEND WA_OBJBIN TO IT_OBJBIN.
CLEAR WA_OBJBIN.
ENDLOOP.
*-get total no.of lines of Object table(attachment)
CLEAR : V_TABLE_LINES.
DESCRIBE TABLE IT_OBJBIN LINES V_TABLE_LINES.
*-populate object header
CONCATENATE 'Delivery#'(005)
V_VBELN
SY-DATUM
V_TIME
INTO
WA_OBJHEAD SEPARATED BY SPACE.
APPEND WA_OBJHEAD TO IT_OBJHEAD.
CLEAR WA_OBJHEAD.
*-packing list for attachment
WA_OBJPACK-TRANSF_BIN = C_X.
WA_OBJPACK-HEAD_START = 1.
WA_OBJPACK-HEAD_NUM = 1.
WA_OBJPACK-BODY_START = 1.
WA_OBJPACK-BODY_NUM = V_TABLE_LINES .
WA_OBJPACK-DOC_TYPE = 'CSV' .
WA_OBJPACK-DOC_TYPE = 'RAW' .
WA_OBJPACK-OBJ_NAME = 'POTR'.
CONCATENATE 'Delivery details for '(005)
CONCATENATE TEXT-005
V_VBELN
SY-DATUM
V_TIME
'.CSV'
INTO
WA_OBJPACK-OBJ_DESCR SEPARATED BY SPACE.
BREAK-POINT.
WA_OBJPACK-DOC_SIZE = V_TABLE_LINES * 255.
APPEND WA_OBJPACK TO IT_OBJPACK.
CLEAR WA_OBJPACK.
*-Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = X_DOC_CHNG
PUT_IN_OUTBOX = C_X
COMMIT_WORK = C_X
TABLES
PACKING_LIST = IT_OBJPACK
OBJECT_HEADER = IT_OBJHEAD
CONTENTS_BIN = IT_OBJBIN
CONTENTS_TXT = IT_OBJTXT
RECEIVERS = IT_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_SEND_MAIL
Regards
srikanth
added comments
Message was edited by: Srikanth Kidambi -
Hi,
One of my custommer asked me if it was possible to create a subscription that would send him alert email as an hourly summary instead of sending an email every time an alert is created.
My first guess is "it's not possible" (at least out of the box), and I couldn't find any article detailing something similar but maybe someone has an idea about this?
Thanks!Hi,
You can use a command channel to run a POSHl script, get all alerts from the last hour and send it as email via POSH.
Have a look on this blog posts to get an idea how to build such a solution:
http://blogs.msdn.com/b/tysonpaul/archive/2014/08/04/scom-enhanced-email-notification-script-version-2-1.aspx
http://stefanroth.net/2012/04/17/scom-2012-using-alert-customfields/
Cheers,
Christoph
Blog: http://blog.cmaresch.at/ Twitter:
LinkedIn:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
How to get video file and iTunes Extra to show as one file in iTunes?
When I purchase a movie in iTunes with iTunes Extras, after the download is finished in the "Movies" and "Genres" view they appear as one file. You click on the cover, it opens, shows the "Play iTunes Extra" button as well as a small Play arrow button next to the title to play the movie directly. Only in "List" view do they appear as separate files.
How can I achieve that for my own iTunes extra? I tried giving the .ite the same XID as the movie file but that didn't work, they continue to appear as separate files in iTunes and the little play button when expanding the iTunes Extra doesn't work obviously. Anyone can tell me how this is done?Ok, I finally figured it out... there is 2 files that play a critical role in this
first is manifest.xml
in this file ensure that the library_item type string references the xid for your video file, and it has to be a proper xid. The iAd Producer manual explains how to create one if it does
example:
<library_item type="video" local_id="feature" xid="TEST:uuid:C7AE7CED-3F60-4C08-AA01-E3F9647B95CC" name="Your Movie"/>
second file and even more critical is iTunesMetadata.plist. There is a couple of strings in there that lace the iTunes Extra to the film and vice versa
<key>itemId</key>
<integer>987654321</integer>
<key>itemName</key>
<string>Your Movie - iTunes Extras</string>
The first is a unique 9 digit number that identifies your iTunes Extra file, the second is the name of the file that should follow the convention "Your Movie Title - iTunes Extras"
<key>playlistId</key>
<integer>123456789</integer>
<key>playlistName</key>
<string>Your Movie</string>
This is what ties it back to the movie file, we will come back to it later where in the movie MetaData you need to place this 9 digit string
<key>xid</key>
<string>TEST:uuid:C7AE7CED-3F60-4C08-AA01-E3F9647B95CC_ITUNES_EXTRAS</string>
This is the convention in how to properly xid your iTunes Extra, it is your movie's XID with "_ITUNES_EXTRAS" added to the end of it
<key>Name File</key>
<string>Your Movie - iTunes Extras.ite</string>
<key>associated-adam-ids</key>
<array>
<integer>123456789</integer>
The first is self explanatory but the second is again this 9 digit number that you will need to place into the meta data of your movie. It is what will make iTunes lace the two files together
<key>xid-asset-mapping</key>
<dict>
<key>TEST:uuid:C7AE7CED-3F60-4C08-AA01-E3F9647B95CC</key>
<array>
<integer>123456789</integer>
</array>
<key>TEST:uuid:C7AE7CED-3F60-4C08-AA01-E3F9647B95CC_ITUNES_EXTRAS</key>
<array>
<integer>987654321</integer>
</array>
</dict>
This is the last critical piece, it laces the two files tigthly together. Now the 9 digit number counting down from 9 is part of the unique ID of the iTunes Extra, the 9 digit number counting up from 1 needs to be put into the metadata of your movie. The annotation type for this is "contentID".
That's pretty much it. If you did it right your files will now appear as one file in cover view just like a movie bought in the store.
The easiest to do this right is to grab the manifest.xml and iTunesMetadata.plist from an iTunes store movie and copy paste and edit it for your purposes, which is what I did.
Cheers everyone! -
How to get last row and sum of all columns in one query
Hi ,
is there a way to get last record for a column and sum of all record for another column in the same query.
Best Regards ,You should define your requirements properly for volunteers to help here..
Your data is not good enough to provide you accurate solution. Reason being you dont have a proper column which differentiates between first and last entry.
The solution becomes easy based on your desgin.
I have introduced a grouping column called "id" and a time column called "time_of_insert" (only this way you can confidently say that you can differentiate between first and last (also a fool proof solution) --- you may optionally use sequence(instead of date though if you say you may end up inserting two rows at the same time, then probably sequence would be a better choice to differentiate rather than a timestamp field) etc...)
With your sample data something like this can be done to achieve your desired result.
WITH dataset AS
(SELECT 1 id,10 used, 8 remain,systimestamp+1/24 time_of_insert FROM DUAL
UNION ALL
SELECT 1 id, 1, 7,systimestamp+2/24 FROM DUAL
UNION ALL
SELECT 1 id,2, 5,systimestamp+3/24 FROM DUAL
UNION ALL
SELECT 1 id,1, 0,systimestamp+4/24 FROM DUAL
UNION ALL
SELECT 1 id,0, 0,systimestamp+5/24 FROM DUAL
UNION ALL
SELECT 1 id,1, 4,systimestamp+6/24 FROM DUAL)
SELECT *
FROM (SELECT SUM (used) OVER () sum_all,
FIRST_VALUE (remain)
OVER (PARTITION BY id ORDER BY time_of_insert DESC)
last_row
FROM dataset)
WHERE ROWNUM = 1;
Output:
SUM_ALL LAST_ROW
15 4
Cheers,
Manik. -
I don't have owner's phone number, how to get previous owner's Apple ID(email address) and send him a email let him remove the device from the account
There is no way for anyone on this forum to assist you. Apple will also not assist you. If you purchased the device thru ebay, file a claim. If you purchased it some other way, I'm sorry. there is nothing anyone can do to help you.
-
How to convert sap script to pdf and send it as email attachment
hi,
my requirement is to convert a standard sales order form to pdf and send it as email attachment. get me some sample code for the same
thanks in advanceHi
See this sample code and after that use the fun module to send the mail
SO_NEW_DOCUMENT_ATT_SEND_API1
REPORT zzz_jaytest .
Types Declaration
TYPES : BEGIN OF ty_pa0001,
pernr TYPE pa0001-pernr,
bukrs TYPE pa0001-bukrs,
werks TYPE pa0001-werks,
END OF ty_pa0001.
Internal Table Declaration
DATA : i_pa0001 TYPE STANDARD TABLE OF ty_pa0001, "For pa0001 Details
i_otf TYPE STANDARD TABLE OF itcoo, "For OTF data
i_content_txt TYPE soli_tab, "Content
i_content_bin TYPE solix_tab, "Content
i_objhead TYPE soli_tab,
Work Area Declaration
w_pa0001 TYPE ty_pa0001, "For pa0001 Details
w_res TYPE itcpp, "SAPscript output
"parameters
w_otf TYPE itcoo, "For OTF
w_pdf TYPE solisti1, "For PDF
w_transfer_bin TYPE sx_boolean, "Content
w_options TYPE itcpo, "SAPscript output
"interface
Variable Declaration
v_len_in TYPE so_obj_len,
v_size TYPE i.
Constants Declaration
CONSTANTS : c_x TYPE c VALUE 'X', "X
c_locl(4) TYPE c VALUE 'LOCL', "Local Printer
c_otf TYPE sx_format VALUE 'OTF', "OTF
c_pdf TYPE sx_format VALUE 'PDF', "PDF
c_printer TYPE sx_devtype VALUE 'PRINTER', "PRINTER
c_bin TYPE char10 VALUE 'BIN', "BIN
c_name TYPE string VALUE 'C:\ZZZ_JAYTEST.PDF',"Downloading
"File Name
c_form(11) TYPE c VALUE 'ZZZ_JAYTEST'. "Form Name
START-OF-SELECTION.
Selecting the records from pa0001
SELECT pernr bukrs werks FROM pa0001
INTO TABLE i_pa0001 UP TO 10 ROWS.
Setting the options
w_options-tdcopies = 1 ."Number of copies
w_options-tdnoprev = c_x."No print preview
w_options-tdgetotf = c_x."Return of OTF table
w_options-tddest = c_locl."Spool: Output device
Opening the form
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = c_form
device = c_printer
language = sy-langu
OPTIONS = w_options
IMPORTING
RESULT = w_res.
LOOP AT i_pa0001 INTO w_pa0001.
Writting into the form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'MAIN'
window = 'MAIN'.
ENDLOOP.
Closing the form
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = w_res
TABLES
otfdata = i_otf
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Converting OTF data to single line
LOOP AT i_otf INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
Converting to PDF Format
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = c_otf
format_dst = c_pdf
devtype = c_printer
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
Downloading the PDF File
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_size
filename = c_name
filetype = c_bin
TABLES
data_tab = i_content_bin.
If you r using this function module check it once....
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
Fehlerhandling
if sy-subrc <> 0.
endif.
or u can use the standard program RSTXPDFT4 to download the script into PDF format onto a particular location
follow this link for sample program.
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1121833,00.html
check...
How to send smart form via email
/people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp
Regards
Anji -
How to coonfigure CCMS Alerts and Alert Categories and Alert Rules
How to Configure CCMS Alerts and Alert Categories and Alert Rules....plz give detail description related to these
Hello Raja,
Can save a lot of your valuable time by telling you only about the events/errors you have to take care of.Here all about the Alert monitoring.Below I am giving the weblogs which are beautifully described about CCMS and mail alerts.
follow the weblogs one-by-one.
I hope at the end of this you may get some knowledge on Alerts.
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step XI:Alerts step-by-step. (fundamental Basic)
/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i CCMS Monitoring for XI. (CCMS monitoring for XI is enough later
we configure to Adapter Engine).
/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 Configuring scenario specific E-mail alerts in XI-CCMS: Part-1
(This is Important)
/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
/people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
/people/federico.babelis2/blog/2006/05/03/solution-manager-cen-and-alerting-configuration-guide-for-dummies Solution Manager CEN and Alerting configuration (Advanced)
Please reward points if it is useful...
Thanks,
Satya Kumar -
Magic Packet - How to get my router to send one
I have the Quantum Gateway 1100 router. I have a NAS Server on my home network. The NAS server has the capability to Wake on LAN if the router can send that packet. Can anyone tell me how to get the router to send the Wake-on-Lan packet to the server. FIOS Tech Support is completely and totally useless.
Hi,
You can do a fresh installation using the installer bits available at the following link/location Download CS5.5 products
For suites, you need to download and copy both .7z and .exe in the same folder. Clicking .exe will extract all relevant installer files. You can then install the suite. Use your existing Serial number when prompted.
regards
Aj -
How do I create, and send a group email on my iPhone?
How do I create, and send a group email from my iPhone 4?
How to send group email without additional APP
Just spent an hour on ichat. Long and short....can't send group email. The group name appears in the TO: line, but if you click on the group name, only the first email address is blue..the rest are black and will not get the email. We tired using the CC and BC lines...same result.
However here is one solution:
I sent one email with each of the group (we are only 9 ) in the TO: line. I included my primary email. When it came to the iphone, i moved it to one of the subfolders. (Each account you may have has a list of the inbox at the top and Account at the bottom. ... that is where you can access the subfolder)
I moved the email with all names to that subfolder. I can then, open it ...do a relpy to all and just change the message and subject line. It is cumbersome, but it does work. I really think Apple, a company committed to ease of use, needs to review this flaw. I suspect it may be a bandwidth economy .... and i feel the pain of the providers...but you did create the beast. -
I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team. I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where I do not have a Wi-Fi connections. I need to be able access files without going to acrobat.com. Help!!!@
Post the PDF files to a web site. The browse to them in Safari on the iPad. When you Open the files specify the Open to occur in Adobe Reader. Then you can have/Save them in your Documents folder on the iPad. An iPad has limited access to files otherwise.
-
My iphone 5 broke so had to get a sim card and put it in my husbands old iphone 4. i can not figure out how to get my imformation on this his old phone; contacts, apps ect. i have switched my icloud account and apple id on the phone but nothing has changed. please HELP!
You do a restore as new to wipe the iPhone then at the end of restore you will be asked to restore from backup. Choose your iPhone backup.
Note you cannot restore an IOS newer than the IOS on iPhone, you need to update iPhone first. -
I received a message on my iPhone 4 that has a video attached to it. I "saved video" but don't know where. How do I find it and send it to mi MacBook Air?
It would have saved to your camera roll. Connect the phone to your Air via a USB cable and then run Image Capture which is located either in your Utilities folder or Other folder, depending on what version of Mac OS X your are running. You will then see all the photos and videos stored on your iPhone and can then download them.
-
HOw to get an Alert based on a Query
I currently have a maintenance plan in place that does a backup, re-indexing, etc.. If a task fails, it sends me an email alert. I would like to add a "T-SQL Statement Task" that will execute a query and send me an email alert based
on the results of the query.
For example: Select Cast(case when count(inventory.items) > 1000 then 1 else 0 End as bit) as SendAlert from Inventory
The maintenance plan's alert function constraint seems to be triggered whether the Query executed successfully or not RATHER THAN from the Query Result.
Can I accomplish what I want from within a maintenance plan or is there some other way to do this?
Thank You.
JackI would create a stored procedure using the following t-sql code:
Create Procedure [dbo].[GetInventoryAlert]
as
Begin
Set nocount on
declare @body varchar(max)
set @body = cast( (
select td = SendAlert + '</td><td>'
from (
select SendAlert = Cast(case when count(inventory.items) > 1000 then 1 else null End)
from Inventory) as d
for xml path( 'tr' ), type ) as varchar(max) )
If Len(Rtrim(@body))>0
Begin
set @body = '<table cellpadding="2" cellspacing="2" border="1">'
+ replace( replace( @body, '<', '<' ), '>', '>' )
+ '</table>'
Set @body='****BODY HEADING OPTIONAL****<br/><br/>'+@body
exec msdb.dbo.sp_send_dbmail @profile_name='MAIL PROFILE',
@from_address='FROM EMAIL ADDRESS',
@recipients='COMMA SEPARATED RECIPIENTS',
@subject='SUBJECT OF THE EMAIL',
@body=@body,
@body_format='HTML',
@attach_query_result_as_file=0,
@query_result_header = 0
End
End
Also the above can be embedded as t-SQL in a maintenance plan tasks control.
I would add an Execute T-SQL Statement Task. Then branch the task where applicable. -
Capture Error in transformation Step and send it by email without Alerts
Hi all,
I have a problem in my BPM.
I need to capture an error in transformation Step and send it by email with a send step without alerts.
Is there a way to do this in BPM?Hi Mariano,
Please check the standard pattern in IR under software component SAP BASIS ->Integration process
-->BpmPatternReqRespAlert.Hope this will help you for building the scenario.
In this process we define a deadline branch to monitor the deadline. If the deadline is missed, an alert is triggered and this can be sent to an email too.
Alert Configuration
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
Alert Inbox
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
Alert Notification Step-by-Step
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
Hope this helps.
Best regards,
Sharath
Edited by: sharath Girmaji on Dec 19, 2008 7:17 PM
Maybe you are looking for
-
Wen copying (importing) a CD into itunes that has multiple artists or duets with a primary artist, how can I get the tracks to all appear on one album?
-
How do you convert a black and white photo to color on the iphone
please tell me how
-
iMovie 6 had a 'share selected clip' option if you just wanted to export a small(er) portion of your project. I can't seem to find this in iMovie 09. Can it be done? The reason i want to do this is because i'm making a DVD, so in iDVD i want to acces
-
Dragging the frame within restricted area
hi, I have an application. when i press on a button, a dialog appears. I want to restrict the dragging area of the dialog within certain area. The dialog should not be dragged outside that area. Is there a way to do it? Is it possible to remove the X
-
"An Communication Error ocurred. printing will be stopped."
I am facing this error message while printing crystal reports from my application. My system resources details are: IIS 7.0 Crytsal reports 2008 Microsoft server 2008 R2 I have read all the possible solutions provided in this forum but unfortunately