cancel
Showing results for 
Search instead for 
Did you mean: 

creating alert messages to email at failures during process chain run

AA3
Participant
0 Kudos

Hi

We would like to create alert messages to be generated during a process chain failure to be sent to a certain receipent group.

I would like to find out if it is a good best practice to create messages for META CHAIN process or the ACTUAL PROCESS CHAINS of the META CHAIN.

If I create messages for the META CHAIN process chain will the failures alert automatically for the underlying chain and the process type.

please provide some step by step doc or links that can direct me to creation of these message alerts.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You have to create the meassage for every process.

Thanks and Regards,

Venkat.

AA3
Participant
0 Kudos

do you mean I will have to go in each process step of individual chains of META CHAIN and create the message or each process step of META chain only is enough.

Former Member
0 Kudos

Hi

Check the below thread, it's based on your requirement.

If you maintain alerts for meta chain, you will get alert a bit late after a step failed in your PC.

If you maintain alerts fro every step, you will get alerts immediately

Check the below thread

Regards,

Venkatesh

AA3
Participant
0 Kudos

will getting alerts for individual chain generate process type specific alerts like

1)individual chain error and the META chain in which it is involved

OR

2) only the individual chain alerts, the reason i am asking is it will be difficult to pin point in which MAIN chain the error occurred

Former Member
0 Kudos

Hi

I think in mail you will get both local and meta chain names

If you want to find meta chain for local chain, you can find using table RSPCCHAIN

give the local chain name in VARIANT field and execute, you will get meta chain name

Regards,

Venkatesh

AA3
Participant
0 Kudos

I have created messages for each process of our META chain, now the issue is I get very detailed message on the email indicating failure of

process chain

Process Local Process Chain , variant Daily Master Data has status Canceled (instance E17K6P9CG9WZOIANMI9MJAIVM ) Process chain has status " " (run was canceled manually) Process Execute InfoPackage , variant 0MAT_PLANT_ATTR_Delta has status Ended with errors (instance REQU_6PL616D64TJA7YEA3W8PL41EA ) Job terminated in source system --> Request set to red Log for the Current Process:

I do not need such detailed messages , we need to only indicate the message written while creating the message in process type- only single line (xxxx process chain failed with the reason)

Former Member
0 Kudos

Hi

If you don't want detailed information, no need to create messages for each step.

just create alert messages for Meta chain local chains

If you get any error, the you will get message saying that local chain of Meta chain failed

Regards,

Venkatesh

AA3
Participant
0 Kudos

So you are saying to create message for the individual chains of the meta chain, but not for each step of meta chain ?

In my case I have created email message for each step of META chain, but not for the individual chains inside it.

Former Member
0 Kudos

Hi

say in your meta chain you have 4 local chains and 6 process steps

create messages only for 4 local chains start process and meta chain start process.

No need to create for every process type

Regards,

Venkatesh

AA3
Participant
0 Kudos

Are these email alert messages genrated from Top Chain (META) to the most specific Bottom chain (individual)

so if i create message alerts for each step of META chain , i will get all the messages of both META chain and it underlying individual chain error message

I created only a single line message in the process chain ALert document of the

I get error for the following categories

Process Local Process Chain , variant

Process Execute InfoPackage

Process AND (Last) , variant Material Update has status Undefined (instance )

Process Attribute Change Run , variant Master Data Attribute Change Run has status Undefined (instance )

Process Data Transfer Process , variant 0MAT_PLANT_ATTR / RD2CLNT100 -> 0MAT_PLANT has status Undefined (instance )

Log of Respective Background Job:

Job started

Edited by: AAL123 on Sep 9, 2011 9:06 AM

Former Member
0 Kudos

Hi,

I also had the same requirement in one of my meta chain for which i had just created messages only for the local chains instead of message for all the processes. This will ensure that whenever any of the steps in the chain fail a customized message comes to my inbox where i come to know that the chain has failed.

If you don't want the entire message to route down to the list of users then you can simply create you own variant by:

Right click your local chain -> Create message -> Error -> Create you variant -> Edit Message ( Enter the message here what ever is required by you during failure) . Select the various options as required from the insert tab at the top.

Save the settings. Also refer the doc referred in the previous communications :

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/304c3146-8eb9-2d10-d787-b6dc2d368...

Thanks

Pawan

AA3
Participant
0 Kudos

I am not getting this right. Here is my procss chain layout

1 Meta chain

it has 1 start variant with 8 LOCAL chain steps

I have created email message alerts for all the 8 Local chain using right click > create message option-> edit document and Maintain receipients

in edit document I just mentioned a single line saying the relevant PC has failed

and in receipents optiion i maineted the required email IDs.

Ok now when the main Meta chain runs, It has failed at certain Local chain (in my case ay master data load)

I get errors till the infopackage, DTP and jobs associated with it.

I do not need any of those low level error details in my email message, but only need that

the master data relevant process chain (local) has failed.

please help me accomplish this.

Former Member
0 Kudos

Hi,

Just remove the alert message for local chains and keep only for Meta Chain.Hope this solves your problem

Regards,

Venkatesh

AA3
Participant
0 Kudos

I do not have any alerts set inside the Local chains for their indiviudal steps, but the messages are set on the META chain process chain steps that indicate as LOCAL.

Thats what, I am getting confused why do i get so many detailed alerts when I have set only for the META chain process chains steps.

AA3
Participant
0 Kudos

I have done it the same way, created messages for the META chain only and not for any process steps inside the local chains

even then i get deailed messages

AA3
Participant
0 Kudos

Hi ,

I am getting Detailed messages for both Success and error events of the process type in the META chain.

Process Daily Master Data Of Type Local Process Chain Has Status Successfully completed (Process Chain BI Daily Load PICS) It is now 23:59:47 on 15.09.2011 (time zone EST) Current Process Chain Run: A7UBJ2OUI337K45GD5GA38I6Q in System AD0 (Host sqsacovn60)

For Success I get detailed messages under

Log for the current process :

Process Start Process , variant Master Data Daily Process Chain Start has status Completed (instance BCC4CDY4KC5YADM4ENX83DQ8I ) Process Execute InfoPackage , variant 0MATERIAL_ATTR_Delta has status Successfully completed (instance REQU_CEP70D8T97I0VGW88ION97B4I )

Log of respective background job :

Job started Step 001 started (program RSPROCESS, variant &0000000010113, user ID BWREMOTE) Start process CHAIN MASTER_DATA_PC_DAILY in run A7UBJ2OUI337K45GD5GA38I6Q of chain BI_DAILY_PC_PICS Chain Is OK Chain MASTER_DATA_PC_DAILY was removed from scheduling Program RSPROCESS successfully scheduled as job BI_PROCESS_AND with ID 2359250

I dont want any log for local process and any log for the respective background job

Edited by: AAL123 on Sep 16, 2011 7:51 AM

AA3
Participant
0 Kudos

Alert messages are there only for META chain but not for the chains inside it.

Answers (3)

Answers (3)

0 Kudos

Hi,

In our project, we created an automatic email reply to the business on failure of some important process chains. The problem is the mail is not in proper format and the words are scatterred. How to keep/change the format?

thanks in advance.

Former Member
0 Kudos
former_member188080
Active Contributor
0 Kudos