How to get Error Variable from Process

  • 351 Views
  • Last Post 04 June 2018
Peter Lange posted this 29 May 2018

Hi!

How can i get the Error Log Entry/Variable from the Process?

 

I want to create a EMail, if the Process stops with any Error, included the Error Message of the Logfile.

e.g. From the Windows File System Module, if the File already exist

or if an Script throws an Error

 

Thanks for any suggestions

Peter

Peter Lange

Order By: Standard | Newest | Votes
luca.scarpati posted this 30 May 2018

Hi Peter,

 

it is possible to add a trigger on the failover and you can decide to send an email to each case of "workflow error" and you can use the variables that you see in the dialog after click "VAR" button. 

 

However for now, we do not have Variable which returns the specific "error line" that is present in the logs.

 

Enjoy your evening!

Luca

 

Peter Lange posted this 01 June 2018

Hi Luca,

thanks for the Reply.

I know the trigger to send Mails on Failover, but if i send an EMail with

e.g. EMailBody = This Worklow triggers on Error

does this email doesn't say anything about the error. The Body has to be dynamically filled with the current error.

 

An Error could be: Module Error - The File already exist --> But sometimes, this isn't an error, just an Information

 

Do you plan to inplement this error information in variables in the next versions?

Cheers

Peter

Peter Lange

luigi.zurolo posted this 04 June 2018

Hi Peter,

 

yes we planned to add a variable for that in the next imminent 4.9 release. This variable will be available in the failover triggers and will contain the error message which has been generating the failover condition.

 

Luigi

Close