On Thursday, July 18, 2013 10:57:10 AM UTC-6, Gareth Thiveux wrote:
> Hi,
>
>
> Your design is quite right, not to say perfect ! ;)
> The other solution you could have chosen is putting twice the same approval step one after each other, avoiding the loop back this way (you can check the attached image if not clear enough).
>
>
>
>
>
>
> But if you want to keep your current design, you should then initialise a variable in the output variables of your start event, you can call it no_aprobaciones for example, and set it's value as 0.
>
> Then, in the output variables of your "Aprobar" manual task, you should define again no_aprobaciones, and put as a its value ${no_aprobaciones+1}
>
> At last, in the conditions of your split gateway, for the 2 approvals branch you put no_aprobaciones?number = 2, and in the other branch, Less than 2 approvals, you simply and only put default
>
>
>
> Hope that works for you.
>
>
>
>
> Regards,
>
>
>
>
> Gareth THIVEUX
>
> Consultant Avant-Vente / Pre-Sales Consultant
> Fujitsu RunMyProcess
>
> 22 rue Chauchat, 75009 Paris - France (GMT+1)
>
> website : Fujitsu RunMyProcess
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Thank You!! It work ok!!