Skip to main content

Hi everyone, I have tried to create  a Process, with a form and a Button Validate/Cancel.

I want to have a if/else that tests if the button chosen is Validate or Cancel. But I have found no way to get the value.

Does anyone know how to get the value of the buttons ?

 

That’s an interesting question, Augustin !

I think the following community members may be able to help 

@ChanduMohammad 

@Zaid Chougle 

@Tamil Arasu10 

@Paul Hawkins 

@Padmakumar 


Hi ​@Augustin ,

 

In the IF action, instead of choosing the Input or output option, select MetaData which actually will contain the button selection details through which, you can design your further flow.


Hi everyone, I have tried to create  a Process, with a form and a Button Validate/Cancel.

I want to have a if/else that tests if the button chosen is Validate or Cancel. But I have found no way to get the value.

Does anyone know how to get the value of the buttons ?

 

In the form’s settings, define a String variable (e.g., $ButtonChoice$) to capture the clicked button’s value.


Hi ​@Augustin ,

 

In the IF action, instead of choosing the Input or output option, select MetaData which actually will contain the button selection details through which, you can design your further flow.

That’s true if the buttons are added on the properties of the form...but in the form editing window if we add buttons to the from it wont be present in meta also


Hi ​@Augustin ,

 

In the IF action, instead of choosing the Input or output option, select MetaData which actually will contain the button selection details through which, you can design your further flow.

That’s true if the buttons are added on the properties of the form...but in the form editing window if we add buttons to the from it wont be present in meta also

 

Here is a sample Form and Process created for better understanding

 

 

 

Here I am using the Metadata to retrieve the status of the button click from the Form in the IF Branch to decide where it has to go next.


Hi ​@Augustin ,

 

In the IF action, instead of choosing the Input or output option, select MetaData which actually will contain the button selection details through which, you can design your further flow.

That’s true if the buttons are added on the properties of the form...but in the form editing window if we add buttons to the from it wont be present in meta also

 

Here is a sample Form and Process created for better understanding

 

 

 

Here I am using the Metadata to retrieve the status of the button click from the Form in the IF Branch to decide where it has to go next.

Can we call the process in a bot and get the output of process in a bot?


Hi ​@Augustin ,

 

In the IF action, instead of choosing the Input or output option, select MetaData which actually will contain the button selection details through which, you can design your further flow.

That’s true if the buttons are added on the properties of the form...but in the form editing window if we add buttons to the from it wont be present in meta also

 

Here is a sample Form and Process created for better understanding

 

 

 

Here I am using the Metadata to retrieve the status of the button click from the Form in the IF Branch to decide where it has to go next.

Can we call the process in a bot and get the output of process in a bot?

 

 

 

You can also invoke a process using the API.


Reply