Exception Handling and Logging

<<Back

·         Exception handing means, handling the erroneous situation during business processing.
·         So the exception handled tasks can be resumed for it execution later.
·         In PRPC exceptions can be handled in the activity steps at “Jump”.
·         Click on ‘Jump’ - > Select the checkbox ‘ Enable conditions’
o   Write a label in the field ‘ On Exception jump to later step’
·         Whenever an exception occurs, the control jumps to labeled step
·         At the labeled step, we can write the log messages by using the method ‘Log-Messages’
·         And display a generic harness by using an OOTB activity ‘Show-Harness’
·         In Connectors and services exceptions can be handled using “Error handler” flow, which we can call in the connector or service rules.
·         In connectors and Services PRPC has an error handling section where in which it has an OOTB “Connection Problem” flow being called.
·         Whenever exception occurs during the processing of Connectors or Services this flow gets executed automatically.
·         This flow checks the availability of target resource and routes the task to respective work baskets.

·         @utility.getWorstMessage(_) – to get the java error message
Activity exception handling is the priority, if we have at the activity and services

No comments:

Post a Comment