For try and catch plugin, the catch converts the datatype to string for success target hop. I solved it using rename fields, but I randomly get error for rename fields showing couldn’t find field in a row even if its present.
Hi! Satyam,
- Check the spelling of the field name.
- Make sure that the field is present in the current row.
- Check the value of the field to make sure that it is not empty.
- Make sure that you are using the latest version of the try and catch plugin.
- Check the logs for any errors that may be occurring.
- Try using a different field name.
Hello Ma’am,
I’m getting the error randomly. Sometimes it executes the workflow and I’m getting the output but 3/10 chance it gets an error in rename fields.
Hi Satyam,
It would be great if you could attach workflow here. I’ll review the same and get back to you.
Thanks, Suraj
UseCases.zip (81.4 KB)
Hi Samach008. Did you get any reply on this request?
Have the same issue. Made sure that the fields are always present during the steps but after the Catch step, it gives the error that it cannot find the field.
Also, on row is getting to catch but output of catch is multiple rows.
Try/Catch is tough to manage. Would be great to have hints to look out for when using this error management. Results and Performance. We have WF that last 2 minutes to pass the Catch step and save as well. Last an eternity.
Hi! Satyam,
The Rename Fields step can sometimes cause a problem especially for data fields. Make sure the format of the input string is the same you use in the Rename Fields step (in this case dd-MM-yyyy). If it still gives a problem, please use a Modified Java Script Step (Str2date function) in between to make the conversion.