cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Logger Mechanism

bhavesh-patel
Deputy Chef III
Deputy Chef III

Hey Everyone,


Can anyone guide me on how to implement the logger mechanism in Workato?

I have used Logger By Workato. Now my end goal is to maintain all these logs with every job execution so that I can identify errors for par jobs.

13 REPLIES 13

shruti-2-sharma
Deputy Chef I
Deputy Chef I

Hello Bhavesh ,

You can use lookup table to Store logs for every execution .

You can use the following approach

1)Create one lookup table and provide Column name relevant to your logs data

2)Create one functional recipe to add item in Look up table

3)Call functional recipe in your parent recipe where ever you want to log data .

 

 

 

Shruti Sharma

Mobile: +91 9643919302

Email: shruti.2.sharma@coforge.com

Coforge Limited

(Erstwhile NIIT Technologies Limited)

www.coforgetech.com

 

 

 

 

DISCLAIMER: The information transmitted, including any attachments, is intended only for the person or entity to which it is addressed and contains confidential and/or privileged material. Sharing this message or its contents with a third party without prior written consent is strictly prohibited. If you receive this email by mistake, please advise the sender and delete it immediately. Email transmission cannot be guaranteed to be secure or virus-free as information could be intercepted, corrupted, lost or destroyed as a result of the transmission process. Therefore, you should check the email for threats with proper software, as the Company does not accept liability for any damage inflicted by viewing the content of this email. Views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. Through this email, no employee or agent is authorized to conclude/commit any new or incidental terms, which are not part of the original contract with any client or vendor, other than by way of duly executed and signed amendment contract between the parties in accordance with the agreed protocol of the contract. Coforge Limited and its related entities consider the privacy of its clients to be of utmost importance and work to protect it. Please be aware that the Company monitors email communications through our networks for compliance purposes. The Privacy Policy of the Company can be accessed from our website www.coforge.com.

gwilkinson
Deputy Chef I
Deputy Chef I

One use case where I think Logger is useful is to capture the results of the steps within a loop where the job report would only show the results from the last iteration. I have not yet tried it but someday soon. It isn't necessarily just errors, I think results from steps that succeeded are also valuable for troubleshooting.

That exactly what we faced, workato don't maintain logs of multiple records in for each loop so that's why we are asking here. RIght now we are mainting a list of logs using variables by workato list functionality. But we are exploring for more and better ideas for logging.

Troubleshooting loops is really difficult in terms of visibility.

Which is also why we've frequently opted to call a function within a loop and treat every loop item, one by one via that function for full visibility.

It's not perfect but has saved us a lot of time on troubleshooting.

Steven Marissens yes totally, we do the same. It makes life much easier. But flies in the face of bulk actions, and calling a recipe function consumes a task, and returning a value from a function consumes a task. So unfortunately there are "cons" with this approach too, but I agree that it makes troubleshooting/monitoring much easier and is what I have opted for myself.