Can I set a activity "if ERROR" then do anthor(or next) activity?

I am scaning about 149 files, due to some files were wrong, so my scan result were not fit for Deserialize Json.
I need my sequence to skip(or ignore) Deserialize Json if the Deserialize JSON runs error and type “0” in the next move(write cell) Can “if” activities do that?
I dont know how to make “if” judge the last activity.

Hi, you would use a try catch activity, to catch the error and perform a task i.e. type 0 before moving on

1 Like

Hi @111402,

Place Deserialize Json inside a try block & add a catch block with Exception, place write cell activity to type 0 inside that catch block.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.