AnsweredAssumed Answered

Multi instance user task with empty collection

Question asked by felipe1 on Sep 11, 2014
Latest reply on Sep 17, 2014 by jbarrez

I have a user task with multi instance characteristics,

         name="My Task">

               ${approved == false}

It works great if <b>myBean.getListOfApprovers</b> returns 1 or more elements, however if the list is empty I get a "Invalid number of instances: must be positive integer value, but was 0".

I would like to skip that user task if the list returns 0, what is the best way to achieve that?