Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

Rule logging within a Process is not available in CE 7.1. It is tough to figure out which Rule/Condition/DT is creating a problem. However, there is a work-around to log messages from Rules in the Application Server log file. These messages can be used in identifying in the problem.

 Here is what needs to be done,

  1. Create a variable of type java.io.PrintStream and initialize it to System.Err.
  2. In the Rules where you want to log a message, for e.g. a simple message that the Rule was fired (from which one can analyze which Conditions are satisfied), add an Execute action on the variable created. Call the method println of the variable and pass the message you want to be printed.

Once the Process is executed, the Application Server log can be used to find the messages that Rules would have logged in the process.

 There is an article on a step-by-step procedure of how to achieve this at the following location:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0f3985e-17e0-2b10-bea0-8adef11ed...