- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 05:34 PM
I have requirement where onBefore script need to count the errors using error=true.
But the challenge here the process NOT picking up next row to execute and stuck/lock the schedular job.
How to mitigate this challenge, where I need error counts + error message + proceed till last row and execute OnComplete script as well.
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 08:19 PM
error | Boolean | When set to true, will halt the entire transformation for the current import set, with an error message. |
If you want to continue use:
ignore | Boolean | When set to true, the current row transformation will be skipped and the remaining rows will be processed.
If you have defined an onAfter script, the onAfter script runs for the current row even if the ignore flag is set to true. |
You can log an error with
log.error()
log | Function | The log object for the current import run. For example, log.info(...), log.warn(...), log.error(...). |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 08:19 PM
error | Boolean | When set to true, will halt the entire transformation for the current import set, with an error message. |
If you want to continue use:
ignore | Boolean | When set to true, the current row transformation will be skipped and the remaining rows will be processed.
If you have defined an onAfter script, the onAfter script runs for the current row even if the ignore flag is set to true. |
You can log an error with
log.error()
log | Function | The log object for the current import run. For example, log.info(...), log.warn(...), log.error(...). |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 08:36 PM
Thanks Willem for quick response.
Can I know where is the log.error() captured and how to find the logs ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 08:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 09:35 PM
Thank You !!