catching empty ons date/strings

0
Especially in MF I have situations in which the MF terminate (exception) because of empty date or string reference. I would like to catch this error only generate log error, not breaking (startup) MF execution like some widgets do in this situation. Is this possible?
asked
1 answers
1

Yes:

  • extract the activity that is causing the error to submicroflow.
  • In the submicroflow on the error-causing activity set an errorhandler and
  • set a log-message-activity as the errorhandling-activity followed by an exit-activity that you pass the value you need in the main activity (maybe ‘empty’, maybe ‘currentDate’, whatever you need)
answered