Established Member.. AlekseyG
Established Member..
116 views

Tracing request rule execution errors in log file.

Jump to solution

Hello!

 

I have an error with request rule execution "Rule - "Test Rule" failed to execute".

But i don't see this error in serverlog.

 

What <Functional_Hierarchy_Name> should I put in PRODUCT_FUNCTION_LOGGING_LEVEL parameter of logging.conf to trace this error?

 

Thanks. 

0 Likes
1 Solution

Accepted Solutions
Absent Member.. randull Absent Member..
Absent Member..

Re: Tracing request rule execution errors in log file.

Jump to solution

Hi AlekseyG,

 

Actually, there is no option for debugging the rules.

 

Please let me know if you have further questions.

 

Thanks,

Randall

Best regards,
Randall

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
7 Replies
Established Member.. Utkarsh_Mishra
Established Member..

Re: Tracing request rule execution errors in log file.

Jump to solution

If it is SQL rule then the error is shown on JS alert box as well as in the server logs (by default).

 

You can create a syntax error in your rule and get the SQL in server logs and then try to execute that SQL. The SQL in logs will have resolved token value, so you can replicate the issue in SQL editor.

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
0 Likes
Established Member.. AlekseyG
Established Member..

Re: Tracing request rule execution errors in log file.

Jump to solution

Hello! 

 

It's SQL rule. Moreover Rule event is "On page load" and SQL returns the  correct result and put it into a field. But when i try to save the request PPM returns the ERROR "Rule - "Test Rule" failed to execute".

0 Likes
Absent Member.. randull Absent Member..
Absent Member..

Re: Tracing request rule execution errors in log file.

Jump to solution

Hi AlekseyG,

 

Try to change the execution of the rule, sometimes the on page load rules have troubles.

Maybe you can use it on field change or so.

 

Also, you can give us the SQL query and the replication steps so, we can try to reproduce the issue.

Best regards,
Randall

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
Absent Member.. randull Absent Member..
Absent Member..

Re: Tracing request rule execution errors in log file.

Jump to solution

Hi AlekseyG,

 

I am wondering that happen with your issue. Were you able to resolve it?

 

Thanks,

Randall

Best regards,
Randall

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
Established Member.. AlekseyG
Established Member..

Re: Tracing request rule execution errors in log file.

Jump to solution
Hello randull! I changed the rule type to "On field change" and the error disappeared. Now it's ok for my business process and i don't have enough time to investigate this strange issue with "On page load" rule deeper. But i'd like to know whether it's possible to track rule-related errors in log file?
0 Likes
Absent Member.. randull Absent Member..
Absent Member..

Re: Tracing request rule execution errors in log file.

Jump to solution

Hi AlekseyG,

 

Actually, there is no option for debugging the rules.

 

Please let me know if you have further questions.

 

Thanks,

Randall

Best regards,
Randall

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
Established Member.. AlekseyG
Established Member..

Re: Tracing request rule execution errors in log file.

Jump to solution

Hi randull!

 

Thanks. I don't have questions any more.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.