How to identify which rule triggered the execution of declare onchange rule
I have configured a declare onchange rule which watches a property pyUserName, on change of this property, I have written an activity which logs a message to the log file along with the stack trace.
I have induced this property change in a "Test" activity, which is executing the declare onchange and the activity which writes the log message with stack trace perfectly fine, but my objective is to trace back to "Test" activity from which the entire onchange execution is started.
How can I show the Test activity details into the log file ?
Note that I cannot use tracer as I need to identify the rule which is triggering the declare onchange in Production environment.
I haven't tried this myself, but what would happen if your onChange ran an activity which had a step with a log-message in it? One of the options in the log-message is to place a stack trace in the log file. Would not that stack trace show which rule triggered the onChange?