What I tried to do now is to create a single line of text column called "Terminate WF?" with the default value "No". As my child workflow will start once this column contains the string "Yes", I just need the button to turn the "No" into a "Yes" when it is clicked. I tried configuring this with the control settings of the button:
This was just my first try, I assume that putting the same commands in "Client Click" and "Value Returned" won't work, but I also have trouble to understand what these Actions would do in my specific case. All the button does right now is refreshing the page when it is clicked.
Is there anyone who could help me with this?
Solved! Go to Solution.
if you only need your "Terminate WF?" column to say "No" on button click i think you can empty the "Client click" field and simply enter "Yes" inside the "Value returned" field of your button settings. Depending on the type of your "Terminate WF?" column you may have to enter another value as "Yes" might not work for a yes/no field (not sure about that). You could try to enter true or 1 instead.
So filling this field seems to be mandatory.
What exactly is the difference between these fields? I thought the client click field would simply replace the button action and executes a customized action instead. But then the "Value returned" field would be reduntant if I simply want to change the value of a column with my customized button action.
changing the button action to save and submit is indeed the solution. I did not know that you are also able to configure the button action if you select one of the pre-defined actions from Nintex. But you are right, this is a quite simple solution without having to use js