Button visibility

I have a "Follow" button. On click, the button should be changed into "Following". Can anyone help me with this?
1 answers

Hi Dinesh,

Multiple ways of doing this but here are 2 commonly used:

1. Use conditional visibility with a boolean attribute. This means that in your modeller you have 2 buttons. 1 with follow & 1 with following. Based on the boolean you show 1 of the 2. In the microflow on click you should then change the boolean.

2. Use a string attribute for the name of the button. In the caption of the button use this attribute as caption. In your microflow you can then change the string of this attribute to ‘Following’.

Hope this helps!