Skip to main content
Nintex Community Menu Bar

Send notification if field not modified

  • February 24, 2020
  • 7 replies
  • 25 views

Forum|alt.badge.img+1

Hello, 

I'm working in Nintex 3.3.1.0 on SharePoint 2013. 

I have a list of items and I need to create a workflow what will send a notification if three multitext fields have not been updated  for more than 3 days since the status of the item was set on "Accepted" .

 

I was thinking on starting the workflow when the status is set on Accepted, store the values of the three fields in a variable , pause the workflow for 3 days and then Set a condition to check if the values of the fields are equal to the variable or if they are empty. 

 

I created something like : 

 

If field1 equals field1Var

or

field1 is empty

>send notification. 

This works. 

 

When I try with :

If field1 equals field1Var

and

field2 equals field2Var

or

field1 is empty

and

field2 is empty

 

this doesn't work. 

 

Do you have any suggestions how to check if all three notification are either equal to their corresponding fieldVar or empty ?

 

Thank you in advance. 

7 replies

Forum|alt.badge.img+8
  • Novice
  • February 25, 2020

Hi,

is there a reason you are checking if the field is empty?

I think you should simply be able to

  • If field1 == var1 && field2 == var2 && field3 == var3
    • Nothing has changed

As your variables are represenenting the fields when the element was accepted, it does not really matter if they are empty


Forum|alt.badge.img+1
  • Author
  • February 26, 2020
how do you set field1 == var1?
I used the Set a condition action with the condition
"If current item field equals value"
where
field1 equals var1.

I couldn't find == .

Forum|alt.badge.img+8
  • Novice
  • February 28, 2020

Sorry i just wrote it with the double equals in the response, the action as you describe looks properly configured.

Just drop the "or empty" part of your intial post and check, if all the fields are the same as before


Forum|alt.badge.img+1
  • Author
  • February 28, 2020
I tried it, but it doesn't work. The fields are multiple lines of text, enhanced rich text.
For some reason it the condition field1 = var1 only works when there something in the fields.

Forum|alt.badge.img+2
  • Novice
  • February 28, 2020
For rich text fields, you'll need to strip out the div tag before checking if its empty. I've found that an empty rich text field is usually stored as <div></div> in SharePoint.

Forum|alt.badge.img+1

I found that it works with enhanced rich text and does not add the <div> tag.


Forum|alt.badge.img+1

Issue is solved. I had to set up two conditions. One to check if the fields are empty and then another one to check if fields are equal to variable.