Unfortunately I don't think so. It's not possible to define an <error> transition inside the decision or the switch node. It would be a nice feature though. gp
On Mon, Feb 15, 2021 at 9:46 PM jelmer <jkupe...@gmail.com> wrote: > no > > On Mon, 15 Feb 2021 at 21:30, Trevor Grayson <tre...@trevorgrayson.com> > wrote: > > > unsubscribe > > > > On Mon, Feb 15, 2021 at 9:57 AM jelmer <jkupe...@gmail.com> wrote: > > > > > Hi, > > > > > > In my workflow I have a switch that looks like this > > > > > > <switch> > > > <case to="Foo">${fs:exists('hdfs://host/path')}</case> > > > <default to="Bar"/> > > > </switch> > > > > > > However the exists el expression can throw an exception when the > namenode > > > is not whiteliisted in oozie. > > > > > > Unfortunately the whitelist is not under my control and when this > > exception > > > is raised I would like it to use the default transition. > > > > > > Is it possible to do this ? > > > > > > -- *Peter Cseh* | Software Engineer, Cloudera Search cloudera.com <https://www.cloudera.com> [image: Cloudera] <https://www.cloudera.com/> [image: Cloudera on Twitter] <https://twitter.com/cloudera> [image: Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: Cloudera on LinkedIn] <https://www.linkedin.com/company/cloudera> <https://www.cloudera.com/> ------------------------------