cancel
Showing results for 
Search instead for 
Did you mean: 
adrianaprodan
Nintex Newbie

Set a Condition - if Attachments is empty- does not work properly

Jump to solution

I need to check if the Attachments field is empty and i have  used the Set a condition Action, with where= Attachments is empty.

 

It doesn't matter if there are attachments or not, but every time the workflow runs,  it  goes on the No branch.

 

am i not setting the right condition?

 

could you help me please?

 

thank you

adriana

Labels: (2)
0 Kudos
Reply
7 Replies
gman
Nintex Newbie

Re: Set a Condition - if Attachments is empty- does not work properly

Jump to solution

Adriana,

You'll want to check the Attachments field against a Yes/No variable as it appears to return True or False. You can test this for yourself by creating a text variable (txtAttach) and setting that to the item's Attachments field. By writing the results to a log, you'll see the results (True or False).

 

Hope this helps.

View solution in original post

0 Kudos
Reply
rencygonzalez
Nintex Newbie

Re: Set a Condition - if Attachments is empty- does not work properly

Jump to solution

Hi Adriana,

I tested it out and got it to work. This is the condition I used and it went down the Yes branch.

attachments.JPG

Reply
rencygonzalez
Nintex Newbie

Re: Set a Condition - if Attachments is empty- does not work properly

Jump to solution

In your case you want it to equal "No" since you are checking to see if there aren't any attachments.

0 Kudos
Reply
adrianaprodan
Nintex Newbie

Re: Set a Condition - if Attachments is empty- does not work properly

Jump to solution

Tahnk you for your sugestion. I have to try this. This idea seems so simple, but i cannot see in front of my eyesSmiley Happy

0 Kudos
Reply
adrianaprodan
Nintex Newbie

Re: Set a Condition - if Attachments is empty- does not work properly

Jump to solution

Thank you Rency. I have to test it

0 Kudos
Reply
rencygonzalez
Nintex Newbie

Re: Set a Condition - if Attachments is empty- does not work properly

Jump to solution

Hi Adriana,

Did you happen to test it? Are you still having problems?

0 Kudos
Reply
adrianaprodan
Nintex Newbie

Re: Set a Condition - if Attachments is empty- does not work properly

Jump to solution

yes, i have tested and it works...

thank you so much

0 Kudos
Reply