Skip to main content
Nintex Community Menu Bar

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

  • September 1, 2020
  • 2 replies
  • 25 views

Forum|alt.badge.img+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

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • September 2, 2020
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.

Forum|alt.badge.img+1
  • Author
  • September 2, 2020

Thanks you it workes great