Action of Simple Button

Good afternoon,

I have got two simple buttons and i want to create a difference step_of_process.
If user clik button1-->TO DO a step_of_proccess1

else if user click button2--> TO DO a step_of_process2

How can do it??Should I create action a button?HOW?

Thank in advancee for your time

1 Like

Hi,

If you want to split your process into two branches STEP1 and STEP2, you need a process variable to be tested to choose the way to take.

You want to add a variables like 'choice' type integer.

You want to split your process with an XOR gate adding conditions on the branches that leads to STEP1 and STEP2. choice==1 on the branch that leads to STEP1 and choice==2 on the branch to STEP2

In your form, you will add either a dropdown list to choose the value of the variable 'choice' or you can add two SUBMIT buttons, with an action that sets the value of choice to 1 or 2. 

Hope it will helps

Olivier

 

Hi Multix,

I suppose you talk about simple button in the Form of the Studio.

A simple way to define a behavior process with simple button is to :

- define a boolean variable in the process

- set the variable value when button is pushed

- use this variable  as a condition in the transition between steps in the Diagram

Are these informations helpful enough ?