Integromat Create Report: Recover from jobStatus = esriJobFailed

116
0
08-15-2022 07:24 AM
CBarrett
New Contributor II

Hello,

When I started this post I was looking for a way to automate the recovery process from an error (described below). With fresh eyes this morning, I have a new question. Why does the Create report app not fail when the jobStatus = esriJobFailed? If the app would indicate fault when it fails to generate a report, then I think it would be more intuitive functionality and assist in recovery.

Description of Error:

When running a standard template Watch Survey123 > Create report in Survey123 > HTTP > Email scenario in Integromat, occasionally it breaks. I'm hoping to use their error handling tools to resolve this automagically. I can always wait like 5 minutes, restart the scenario, and it works fine. Immediate restarts do not allow the scenario to succeed, for whatever reason a time delay is required.

The specific error message I get is in the HTTP app:

BundleValidationError

Validation failed for 1 parameter(s).

Missing value of required parameter 'URL'.

Digging deeper, I can see that the real problem is in the Create report step:

jobStatus: esriJobFailed

Because waiting a few minutes and restarting resolves this error type, I suspect Create report is not waiting long enough for my Enterprise portal to generate the report. If anyone has any tricks to handle this type of issue I'd love to hear them. My thoughts were either Router > Sleep > Resume, or enable incomplete execution storage, Router > Break. I was hoping for the first, as the second would still require manual intervention to process, but at least stop the scenario breakage.

Thanks,

Clay

0 Replies