Fill in script into mail, when checkbox is checked in form

  • 1 September 2020
  • 2 replies
  • 11 views

Badge +1

Dear all,

I'm quite new to Nintex workflows, but most of my "issues" I was able to solve with the posts in this community.

But now I'm facing something, I couldn't find a suitable solution.

I want to generate a script (Defined text) which is filled into a mail, if a specific check box is checked in forms (sample desired). If this box is checked a script shall be send in an workflow generated mail, if this box is not checked, this part of the mail shall just be blank. I tried to work with a variable and a regular expression (Replace "yes" through text), but weather I'm doing it wrong, or it doesnt work, as I just see TRUE in the mail, whether box is checked or not. 

 

Many thanks for your support in advance


2 replies

Userlevel 6
Badge +22
Hi,

I would create a blank variable in the workflow to hold the text and reference this variable in the email body.
Before the email action have a "run if" action that runs if the Yes/No is true. If true it populates the variable with the desired test. If false it skips it and the variable remains blank.
Badge +1

Thanks you it workes great

Reply