Jule8400
Nintex Newbie

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

Jump to solution

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

0 Kudos
Reply
2 Replies
SimonMuntz
Nintex Employee
Nintex Employee

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

Jump to solution
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.

View solution in original post

Reply
Jule8400
Nintex Newbie

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

Jump to solution

Thanks you it workes great

0 Kudos
Reply