Hi Community,

 

I was trying to build one scenario - On Error come during process execution i.e. System shows Error in Process Log Section, I want to log it in another Custom section and Create new record there. 

For this, I created a business process that can be triggered on the Change in Process Log Object. But that process is not getting triggered. Please guide me here? How to do it correctly?

 

Like 0

Like

3 comments

Dear Pratik,



Please note that our application doesn't support designing business processes that are triggered by a modification in system objects. The core of business process mechanisms works on low-level API which doesn't support start signal's functionality. This is done in order to avoid any kind of accidents with business process mechanisms and also for performance maintaining reasons.

 

However, you can try designing a process that runs, for example, every day and checks Process log records for errors, and then sends this information to a specific mailbox.

 

Kind regards,

Mira

Hi Pratik,

I had a similar issue, and that's the solution I came up with: 

My process is scheduled to run every 4 hours and the read data searches for process marked with the "Error" status, which name starts with a custom prefix (that I assigned to identify my processes). The subprocess is used to log the error in another custom section.

Hope it helps! 

Hi Mira and Federica Cattani,



Thanks for the help and explanation. 

Show all comments

Hello All,

 

I understand that Business Process has this option of Execution diagram where it shows the flow path when there is a trigger from any object. What I want to know is does it also give us this output of what value was received during each stage. When It errors, we get the error message from Process log but it would be really helpful if we also get the stage wise output even when the Business Process succeed.

 

Is there any way to achieve this? Kindly suggest .

 

Thanks

Anupama

Like 0

Like

2 comments
Best reply

Hello Anupama,

 

Unfortunately, it is not possible to see this info in the Execution diagram. 

However, you can check the "Trace enabled" checkbox in the properties of a business process. After that, you will be able to see the detailed data for each element of the process in the process log by selecting the process, then clicking on the element and clicking 'Show trace data'.

 

Best regards,

Max.

Hello Anupama,

 

Unfortunately, it is not possible to see this info in the Execution diagram. 

However, you can check the "Trace enabled" checkbox in the properties of a business process. After that, you will be able to see the detailed data for each element of the process in the process log by selecting the process, then clicking on the element and clicking 'Show trace data'.

 

Best regards,

Max.

Max,

 

Thanks Max. This helps.

Show all comments