martes, 4 de octubre de 2016

Form rules in human tasks by Rubén Rodríguez Santiago

clip_image001
In Oracle BPM it is possible to use Oracle ADF to implement Human Tasks, but in Oracle Process Cloud Service you can only create a form using web forms. Creating a form is an easy task and it offers us to define rules that it gives us a lot of flexibility to achieve complex requirements. 
Having this simple form. We can navigate to rules clicking on the marked button.

For each of the elements we have a number of properties or events that we can manage, 
For example we can manage form load event, or get if a field value is valid...

To build the rules we have to use JavaScript and we can get code snippets if we click on the button next to each of the properties.

Let's build a couple of rules so you can see how easy it is. 
Having this combo with this value.

We can build a rules that populates that combo and also add some kind of value change listener so if its value is "Spain" we can set the country code in Telephone field. 
If we have any syntax errors, will be displayed in the bottom of the editor.


Read the complete article here.

No hay comentarios:

Publicar un comentario

Te agradezco tus comentarios. Te esperamos de vuelta.

Todos los Sábados a las 8:00PM

Optimismo para una vida Mejor

Optimismo para una vida Mejor
Noticias buenas que comentar