Incident creation loop
Greetings.
I've suffered a problem over my SCSM, i'll try to explain the scenario as good as I can.
I got SCOM monitoring and resending critial alerts to SCSM as incidents, a few days ago, it detected a failed backup, so SCSM created an incident, and notified us via e-mail.
But we've been suffering a severe spam, this incident seems to have looped, creating new incidents which just contain the originail incident information, in example, the original and good alert was Title ID XX Body Backup failed, its been creating since
there the Title ID XX+1 Body ID XX Backup failed, Title ID XX+2 Body ID XX+1 Backup failed ID XX Backup failed, and so on.
I targeted the original incident and deleted it from the database in case that it was the problem, tried several services restart or even the machine, with no luck, even disabled the original monitor on SCOM, but no effect.
Any hint I could follow to solve this? It's so troublesome that it evens dry off the resources, hanging the Exchange Connector, so notifications won't reach the mailboxes, and making the machine perfomance and troubleshooting hard to do in real time.
If you're in triage mode, stop any "System Center" services on your workflow server, (the first service manager server you installed) in order to prevent the change connector (assuming you're using the exchange connector), then open the mailbox
in OWA and delete anything that matches your original pattern. wait about 15 minutes for any bounces to normalize, delete any new messages, then re-enable everything
if you're looking to prevent this in the future, edit your template to put the work item ID in brackest (ie. "[IR1234] body backup failed"). this will clue the exchange connector (assuming you're using the exchange connector) that the new message relates
to the old incident number, and it will be added to the old incident as a user comment, rather then creating a new incident. This won't help if you have a notification rule that triggers on new user comment, but at least it will stop hundreds of IR records.
this as the advantage that anyone who replies to this message will have their response related to the original work item.
Similar Messages
-
Hi Experts,
We have a custom condition, if plant manager(Incident manager) is not maintained in 'Z' table. We should give error message and stop the incident creation process.
Pls guide how to do the same.
Regards,
Reny RichardHello Sakthi,
I have added my validation in User-Exit "EXIT_SAPMM06E_012".
Below is the sample code:
IF sy-tcode = 'ME21N' OR sy-ucomm = 'MESAVE'.
IF i_ekko-bsart = 'XYZZ' and i_ekko-lifnr = 'P123456'.
MESSAGE e000(zm001) DISPLAY LIKE 'E' WITH 'Vendor' i_ekko-lifnr 'is not allowed for Document Type' i_ekko-bsart.
RETURN.
ENDIF.
ENDIF.
In place of "MESSAGE e00......" you could use below macro :
mmpur_message_forced 'E' 'ZM001' '000' 'Vendor is not allowed for Document Type'.
This macro is used to give soft error message. I tried with "A" instead of "E" message type too and it didn't work. It will trigger a pop-up window with "Save", "Edit" and "Cancel" buttons. If user clicks on "Save", it would create a PO. In my case I did not want the PO to be created, incase validation fails. So I did not use macro. My sample code triggers a pop-up window with "Hold", "Edit" and "Cancel" buttons. Hence a PO is created with Parked status.
Thanks,
Siri -
Two Incident creation option in ITSM
Hi Experts,
We have implemented ITSM in SolMan.
But we are can see two create Incident button in Create Pane of SM_CRM web UI Page. Can any suggest why we can see two options.
Both creation option create Incident in different way.
Option 1: Follows standard incident creation procedure for "REQUESTER" Role.
Option 2: Follows normal Incident creation procedure where whole Incident Page is displayed.
Can anyone please let us know how we can remove one option from here and keep only one to avoid duplication of option.
PFA screen shots for more Details.Hi Rakesh,
Disable one that you don't need in tcode CRMC_UI_PROFILE
choose Business Role and then from left side Choose
Adjust Direct Link Groups needed group ID
then choose Adjust Direct Links
here disable LogLink ID that you don't needed
Rg Dan -
How to find the Feeder class behind Incident creation in SAP EHS?
I have a requirement where i need to change the message text after clicking "Send" button while creating Incident.
How to find the feeder class and method which is called behind "Send" button ?
Thanks,
VimalI dont have such.. but you can set external debug point in function module POWL_QUERY_REFRESH
* get the result object type from the feeder
lr_feeder->get_object_definition(
EXPORTING
i_selcrit_values = lt_crit_para " selcrit dependent object def.
i_langu = l_langu "nt_1673495
i_type = i_query_data-type
IMPORTING
e_object_def = lr_object_def
In I_QUERY_DATA-TYPE you can see name of POWL ID.
Find it in transaction POWL_TYPE and you get name of feader class! -
ERMS-Incident Creation via E-Mail
Hi Experts,
The requirement at present in my work is, When email comes in to the CRM, an Incident should get created automatically and acknowledgement should goto the sender by apending with the Incident no and details. Could any one explain how to configure my requirement?
please suggest how to achieve..
Thanks in advance,
Anil.John Burton wrote an article in CRMexpert that might help you
mySAP CRM E-Mail Response Management System
Rule Modeler Lets You Automate Email Handling Without ABAP Coding
http://www.crmexpertonline.com/article.cfm?id=1515
Might require that the incident acts as your IR. -
Naming components created in a loop?
I asked this once before, but none of the answers work in this case.
I am creating a series of components as children of a viewstack based on XML loaded. I am looping through the XML and instancing a component for each node.
private function createSteps():void{
var stepNumber:uint = 1;
var numSteps:uint = dataXML.length;
for each(var step:XML in dataXML){
var recipeStep:CyorStep = new CyorStep();
mainViewStack.addChild(recipeStep);
recipeStep.label = stepNumber +". "+ step.stepTitle;
recipeStep.itemChoicesList = step..item;
recipeStep.prompt.text = step.prompt;
recipeStep.stepCaption.text = step.bodyText;
recipeStep.stepTitle.text = step.stepTitle;
if (stepNumber == numSteps){
recipeStep.nextBtn.label = "FINISH";
recipeStep.addEventListener("GO_PREVIOUS",prevStep);
recipeStep.addEventListener("GO_NEXT",nextStep);
stepNumber++
The problem is all these objects have randomly generate names. How can I assign each object a name as I instance it, as in:
var recipeStep1:CyorStep = new CyorStep();
var recipeStep2:CyorStep = new CyorStep();
and so on?OK, close. What I have done is created an array to hold them:
[Bindable]
public var stepModules:Array = [];
Then modified my creation loop like this:
private function createSteps():void{
var stepNumber:uint = 1;
var numSteps:uint = dataXML.length;
var recipeStep:CyorStep;
for each(var step:XML in dataXML){
//var recipeStep:CyorStep = new CyorStep();
recipeStep = new CyorStep();
recipeStep.name = "recipeStep"+stepNumber.toString();
mainViewStack.addChild(recipeStep);
recipeStep.label = stepNumber +". "+ step.stepTitle;
recipeStep.itemChoicesList = step..item;
recipeStep.prompt.text = step.prompt;
recipeStep.stepCaption.text = step.bodyText;
recipeStep.stepTitle.text = step.stepTitle;
...etc...
stepModules.push(recipeStep);
stepNumber++;
trace(stepModules[0].stepCaption.text);
This trace statement gives me the caption of the first item created, fine. However, I have a datagrid that needs to be updated with the contents of the "drop" datagrid of the drag-n-drop in the component, so I tried setting its dataprovider to dataProvider="{stepModules[0].chosenList.dataProvider}" but I get nothing. I can't figure out why, or if there's a step I need to do to get the dropped items to appear in the second grid as well as where they're dropped. -
How to launch the Create Incident page as the Home Page
Hi All,
My issue is to launch the Create Incident page as the Home Page in the Service Pro Role.
To launch the Create Incident page as the Home Page is there any SPRO Configuration or we have to do through the code?
Thanks & Regards,
VenkatHi Venkat,
This can be done in the navigation bar configuration. Go to the path below and select your navigation bar profile, next to the description of your navigation bar profile there is a link ID, replace the home work centre logical link SRV-HOM-WC with this link SRV-INC-CR.
When you now log into your business role the incident creation screen should display instead of the service home screen
SPRO --> CRM --> UI Framework --> Technical Role Definition --> Define Navigation Bar Profile
Regards,
David. -
This is some oversimplified code from a more complex file I'm
writing. I'm getting the same error on my other code. Take a look
at it for me (if you don't mind)- and tell me the proper way to
name a sprite (or custom class extending sprite) instance, so I can
then reference it later. :) thanks!quote:
Originally posted by:
omnidogg
You can also use array access with objects, so after your
creation loop, you can access various properties of dynamically
created and named objects using the following notation
for (var i=0; i<5; i++)
root["test_" + i].x = 10;
root["test_" + i].y = 10;
root["test_" + i].visible = true;
which also lets you go several layers deep easily and is a
much more straight forward and efficient way of coding.
Sorry, but that is incorrect. You cannot reference the
Sprites via their "name" property like that. There is confusion
over DisplayObject.name and the actual instance name -
How do I change tempo (batch samples)?
Hi,
I have a bunch of loops - 2 to 4 bars in length - melodic... at 120 BPM.
My project is at 70 BPM.
The loops at 120 BPM are melodic - and even feel like halftime (60 bpm).
I would like to get all the samples to my project tempo.
The loops are .wav files - though just converted to .aiff files.
Incidently, these "loops" are not going to be looped - they are just snippets of melodies.
Please let me know best sound, least complicated way to get the same tempo as my project.
Thanks in advance...Okay, fair enough; I'll give it a go.
First, a quick summary, & then the details from the manual in case my summary *****. Oh, I forgot you can't say s-u-c-k-s; I mean, if it's not terribly good. (And the stuff in my previous post also applies.)
SUMMARY:
You can insert tempo changes on the Tempo Track, just underneath the Bar Ruler. It may be that at the moment you don't see a Tempo Track, so in order to display it you need to choose View > Global Tracks.
(It sounds like you may have been trying to input tempo changes on Audio or MIDI tracks; that's not the right place. It has to be on a Tempo Track.)
Hopefully that's all you need, but JIC the rest of the info follows; ignore it if you're sorted!
Of course, if you're already doing all this, & it still isn't working, please get back in touch again…
In the Arrange Window (Windows > Arrange), the Arrange area is where all MIDI and audio information is recorded, on horizontal tracks. Above the Arrange area is the Bar Ruler, which displays position information.
Global Tracks provide a perfect way to view and edit global events, such as Tempo, which affect all tracks in the arrangement.
There are several types of Global tracks, & one of them is the Tempo track, which contains all tempo changes of a song.
Global tracks can be displayed in the Arrange window, just below the Bar Ruler.
Global tracks are displayed or hidden by use of the View > Global Tracks menu option.
Creating Global Events:
To create a global event (a tempo change, for example), use the Pencil tool and click at the desired position in the track. (If you haven’t changed the default tool assignments, this is done by clicking while holding the Command key). Watch the help tag while holding down the mouse button: It displays the exact position and value (if applicable) of the event to be inserted, until the mouse button is released. -
Loading an "MXML Component" at run-time creates a null object.
Hello!
I have a simple Flex 3 project with an MXML application file (the parent) and an MXML component file (the child).
At run-time I create childs of this component, and I add it to the stage using a simple "this.addChild()" call.
Now, besides that, in the creation loop, after every
newChild = new mcComp();
I want to setup a few more custom parameters which belongs to this class. For example, now I want to set a label's text, this label is at the child.
The issue is that the label isn't created until I exit the creation function, and actually, until my code returns control to the Flash Player.
See my problem here?
With custom classes which resides at .AS files, when I instantiate them with the "new" operator, they run their constructure's code and eveything is fine.
But, when I do the same with those MXML components (which by the way are based over the Canvas class), their constructure do not execute and actually no other child of them is created.
Can anyone please advise? I must be missing some keyword here.. hopefully.Hi Natasha thanks,
The issue is that the creationComplete event doesn't dispatch even when I addChild() the object.
var child:mcChild = null;
for(var i:int; i < 3; i++)
child = new mcChild();
// setting some properties, labels' text etc'
this.addChild(child);
Try this and you'll see - the event doesn't dispatch until you got out of the code flow.
Anyway after looking at Flex's documentation I solved it differently;
After the addChild() call the child receives an "initialize" event. After that I could modify my label.
Thank you though! -
Disabled subscription sends notifications, relative date not working properly
Hi
I have two problems regarding subscriptions:
1.When I disable a subscription, should I receive any further notifications? I am receiving notifications despite disabling the subscription.
(I have cloned the template and deleted the original template, then sending email notification will be stopped, but as soon as assigning new template to subscription, sending emails starts, whether subscription is enabled or not)
2. The criteria for subscription is as follows:
Status = Active or Status = Pending and Source = Portal and Created date [relative] = [now-7d]
Regarding the criteria, it must check whether it has past 7 days from incident creation, but it starts sending notifications without considering the [now -7d] condition.
I use SCSM 2012 SP1 - Rollup 6.
Am I doing something wrong?
YSobhdelThe actual criteria was Created Date greater than or equal to [now-7d]
What I am trying to accomplish is that whenever an open incident (i.e., not resolved or closed incident) is active more than 7 days, assigned to user will be notified.
My Question is , why is it happening in the first place, this criteria is nearly impossible to catch (equal to [now-7d]), yet it is sending notifications from the first day. I have testes the notification with
Created Date greater than or equal to [now-7d] as well but to no avail, still the same problem.
About delay, I am 100% sure that this is not performance problem, since this workflow is set to periodically check criteria and is run once a day. I have waited for the setting to apply for about two days and this is far beyond any delay! (for two consecutive
days, I have received this notification).
YSobhdel -
Please help me with a simple flash game problem
I am trying to learn how to make flash games with Adobe flash 5.5. I am doing a tutorial from a book and am stuck.
The game is called concentration and you are suppose to match 2 tiles of the same shape. there are 10 shape tiles
and 1 question mark tile. These tiles are held in an array. 20 tiles are suppose to be displayed 5 to a row with 4 rows
and the question mark is suppose to be up on all 20. My problem is I get a blank screen when I test the movie. I
think the code is good but I beleive I have not uploaded the tiles right. I did upload the 11 tiles to the library and have
those 11 tiles and tile_movieclip in the library. Here is the code:
package {
// importing classes
import flash.display.Sprite;
// end of importing classes
public class Main extends Sprite {
public function Main() {
// variables and constants
const NUMBER_OF_TILES:uint=20;
const TILES_PER_ROW:uint=5;
var tiles:Array=new Array();
var tile:tile_movieclip;
// end of variables and constants
// tiles creation loop
for (var i:uint=0; i<NUMBER_OF_TILES; i++) {
tiles.push(Math.floor(i/2));
trace("My tiles: "+tiles);
// end of tiles creation loop
// shuffling loop
var swap,tmp:uint;
for (i=NUMBER_OF_TILES-1; i>0; i--) {
swap=Math.floor(Math.random()*i);
tmp=tiles[i];
tiles[i]=tiles[swap];
tiles[swap]=tmp;
trace("My shuffled tiles: "+tiles);
// end of shuffling loop
// tile placing loop
for (i=0; i<NUMBER_OF_TILES; i++) {
tile=new tile_movieclip();
addChild(tile);
tile.cardType=tiles[i];
tile.x=5+(tile.width+5)*(i%TILES_PER_ROW);
tile.y=5+(tile.height+5)*(Math.floor(i/TILES_PER_ROW));
tile.gotoAndStop(NUMBER_OF_TILES/2+1);
// end of tile placing loop
Can someone please explain to me what I am suppose to do to make the this work? I beleive the problem is it doesnt know where the tiles are.
Thanks.To create the tiles, draw 10 distinct shapes in the first 10 frames of your symbol, and
the back of the tile in the 11th frame. You are free to draw them as you want, but I suggest you make them as 90 pixels squares with registration point (starting x and y position) at 0, because these are the properties of the tiles used in this chapter's
examples. At least, they should all be the same size.
It didnt say put in a library. It is saying to draw them in frames of symbol but it didnt walk me through that. Can you guide me through this? I also was looking at how to add the link identifier but it said I need a popup window but I cant see one. I thought that was done
when I went to insert new symbol. It said something about actionscript linkage. I am familliar with perl, java and c++ so I can follow the code so far but I dont have much understanding of the flash interface. I made the 10 shape tiles and the 1 question mark tile
in paint. They are .jpeg images. -
SCSM R2 Duplicate Email Notifications
Hello anyone! I recently installed SCSM R2 on Windows Server 2012 R2 and created my Service Manager environment. I incorporated an Active Directory connector so I could notify affected users and assigned users of incident creation, assignment and resolution.
I followed instructions based off various guides I found and created a custom management pack to store all my templates, workflows, etc. I am only deploying three custom workflows within my Incident Event Workflow Configuration. Those three workflows are as
follows:
1) Create Event - Incident Created - This workflows will send an email notification to the affected user that an Incident has been created.
2) Update Event - Incident Assignment - This workflow will send an email notification to the assigned to user.
3) Update Event - Incident Closed - This workflow will send an email notification to the affected user when the incident has been resolved.
I am using custom notification templates for each of the workflows and they all three are working, doing what they are intended to do except for one aggravating issue. In regards to the "Incident Assignment" workflow the "assigned to"
user is receiving two emails (exact replicas) notifying that the ticket has been assigned to them. My notification list within the "Incident Event Workflow Configuration" properties for the Incident Assignment workflow is as follows:
Under Notification List:
User - Assigned to User , Message Template - Incident Assignment Email Notification. This is the only notification added to the notification list. I do not understand why it is sending two emails to the "Assigned to User". If anyone is experiencing
a similar issue or can help please do. Thanks!Thank you Andreas! This MP did fix my issue. To anyone out there that needs to know the steps taken after downloading the MP please see below.
1) Go to the link listed by Andreas Baumgarten above. Download the Lumagate.AssignedToNotification.xml MP. Save it to a network share you can access from your SCSM server.
2) Navigate to the Administration tab in your SCSM console. Select Management Packs and then choose import under Management Packs in the Tasks section.
3) Once you have imported the MP go to the Workflow Configuration section under Administration still.
4) Choose your desired workflow to edit (in my case, Incident Event Workflow Configuration) and click properties.
5) From there you can Add a new workflow and select the Lumgate MP. I was able to leave the criteria and notification list sections blank and chose "Do not apply a template" under "Select Incident Template". Make sure this workflow is
enabled and you may need to disable your existing custom workflows if any were previously created.
6) Lastly, I went and customized the Notification templates from the MP to better suit my company. You can edit the HTML in the message body to fit your needs.
Brian Toms -
[CS2][AS] Make XML import map is calling a refresh on styles?
If this can be of use to someone else... it's probably not CS2,AS specific.. but this is what i use.
It's the second time i have a bug like this, where changing the order of my calls is fixing the problem. With this one, i was getting random missing font error (times(1)) while batching documents(wich make the batch script batch crash as there is a modal dialog open). Not always on the same document, it was really fustrating as i was not able to get my finger on the problem!
I actually knew the source of the problem as i had added a fix (maybe not the best solution, but it was working well) that actually was removing the style from all the text frame (i noticed that using map style to tag was not always working well(when text frame had overriden?), so that's why i added code to reset the style before doing a map. But i was not understanding why it was happening so randomly...
I tought at first it was happening during save (as it reopen the document) but after a few experimentation it looked like it was occuring during the import map redefinition (See code below: make XML import map with properties {markup tag:tStyle, mapped style:tStyle}).
Looks like the make XML import is calling some sort of document refresh wich then pop the font missing dialog (even with never interact as script preferences!)! (missing font is actually a bug i had also in other circumstances.. exemple when you have a extra return at the end of a tagged text (outside the tag)). A bit unexpected, i really tought that creating a xml import map was just creating data structure in document model to be used later on by the auto style call...
The problematic script:
tell application "Adobe InDesign CS2"
set myDocument to document 1
tell myDocument
--Reset styles.
set applied character style of every text of every text frame of every spread to character style 1
set applied paragraph style of every text of every text frame of every spread to paragraph style 1
--Create a tag to style mapping.
set tList to name of every XML tag
set tNumItems to count of tList
repeat with i from 1 to tNumItems
set tStyle to item i of tList
make XML import map with properties {markup tag:tStyle, mapped style:tStyle}
end repeat
--Map the XML tags to the defined styles.
auto style
end tell
end tell
And the working solution (just moved the reset of style after the import map creation loop):
tell application "Adobe InDesign CS2"
set myDocument to document 1
tell myDocument
--Create a tag to style mapping.
set tList to name of every XML tag
set tNumItems to count of tList
repeat with i from 1 to tNumItems
set tStyle to item i of tList
make XML import map with properties {markup tag:tStyle, mapped style:tStyle}
end repeat
--Reset styles.
set applied character style of every text of every text frame of every spread to character style 1
set applied paragraph style of every text of every text frame of every spread to paragraph style 1
--Map the XML tags to the defined styles.
auto style
end tell
end tellit doesnt print any server control message. in my "page_404.jsp" I am printing current date and time (to check if the server visited that page) everytime when i refresh "index.jsp" the server goes to "page_404.jsp" and prints the current date and time.
so basically the only message which the console shows is the current date/time which i am printing in the "page_404.jsp"
Thanks. -
Hi all experts,
Our environment is 11gR2 in windows. I am getting this followig errors through grid control.
Host=xxxx.xxxx..com
Target type=Listener
Target name=LISTENER_SCANx_xxxxxx-scan
Message=Listener response to a TNS ping is 28,580 msecs
Severity=Critical
Event reported time=Sep 30, 2013 10.00:03 AM EDT
Operating System=Windows
Platform=x64
Associated Incident Id=102525
Associated Incident Status=New
Associated Incident Owner=
Associated Incident Acknowledged By Owner=No
Associated Incident Priority=None
Associated Incident Escalation Level=0
Event Type=Metric Alert
Event name=Response:tnsPing
Metric Group=Response
Metric=Response Time (msec)
Metric value=28580
Key Value=
Rule Name=xxx - Metric Alert,Fatal_Critical
Rule Owner=SYSMAN
Update Details:
Listener response to a TNS ping is 28,580 msecs
Incident created by rule (Name = Incident management Ruleset for all targets, Incident creation Rule for metric alerts.; OwnerOS is responsible for any and all network packet exchanges.
Oracle is the victim; not the culprit.
windows are rectangular openings in walls & typically containing glass so not sure what these have to do with Oracle listener response
Maybe you are looking for
-
I currently have a BT Homehub connected to a modem, which is connected to the ethernet port in my wall (which is downstairs). I bought a timecapsule to wirelessly back up my computer. It is connected via ethernet cable to my router. I have recently b
-
How can I create a exe file with a tab control on it that work´s ?
I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?
-
Handling Multi hierarchial Structure using XSLT or Java Mapping in XI
Hello Experts, I have an requirement wherein i have sender as IDOC and File as Receiver.My target File structure is multi hierarchial with parent level and many child sub level node. I tried to generate flat structure using graphical mapping by creat
-
Simple program with Java KeyTool
Hello! I tried to create signature using keytool to send data using ssl. I create private key file by keytool -genkey -keystore kkm.kst -storepass passwd -alias kkmcert -keypass passwd -keyalg RSA -keysize 1024 -sigalg MD5WithRSA -validity 365 -dname
-
SAPSCRIPT NOT PRINTING in WYSIWYG
Hello, when I print (using A4 Paper DINA4 ), onn the print preview I see the document how I want it to print. Whenit is physically printed , I get a 5mm top marginb and 5mm left margin, before anything is printed, what is the easiest way of getting