Workflow Current Item Boolean does not work

2019-05-25 11:49发布

I'm wondering if anyone has run into this situation.

I have a 2010 workflow running on a SharePoint 2013 hosted site.

I am checking for a boolean field in the workflow. The boolean is set correctly in the list as true and my log statement does in fact show the field is set to true. There are no errors in the log.

The code below my IF statement should fire but it never does. What could cause this not to work?

If current item:Resubmit equals yes

Thanks!

2条回答
Evening l夕情丶
2楼-- · 2019-05-25 12:43

I have a very long 2010 SPD workflow with tons of Boolean IF logic. The workflow worked beautifully as I was developing it, but at some point the Boolean logic stopped behaving correctly. I have no idea why.

MY SOLUTION I changed my If statements to test for the opposite condition and they all worked. So, for example if I wanted to test if a SharePoint List Yes/No variable was "Yes":

INSTEAD OF - If Current Item:YourColumn equals Yes

I USE - If Current Item:YourColumn not equals No

Everything now works as long as I can keep my head on straight as I work my way through the logic.

查看更多
虎瘦雄心在
3楼-- · 2019-05-25 12:48

I faced the same issue. Assigning the field value to a variable, then using the variable in the "if" condition, worked for me. (Solution suggested in the comments)

查看更多
登录 后发表回答