Skip to main content
Nintex Community Menu Bar

Make attachment require when the decision is equal to approve.

  • Jun 7, 2018 10:55 AM UTC
  • 3 replies
  • 26 views
  • Translate All

Forum|alt.badge.img+3

I am making a a task form which should make attachment compulsory when the user select the decision box to approve. It should be optional in case the decision is rejection.

3 replies

Forum|alt.badge.img+14
  • Scholar
  • Jun 7, 2018 11:44 AM UTC

assuming you're on sharepoint on-prem and using classic forms....

... then have a look on this

https://community.nintex.com/message/42747?commentID=42747#comment-42747 

 

in your case validation formula might look like

Decision==12345 &&    /* 12345 will be value of APPROVE decision option specific in your environment*/
(GetNumberOfAttachments('AttControlClass') < 1)‍‍‍‍
Translate

Forum|alt.badge.img+3
  • Author
  • Jun 8, 2018 9:01 AM UTC

Thank you Marian Hatala. This solution work well. One thing that I have notice is that this is working for the latest version of nintex and it is not working with order version of nintex.

Translate

Forum|alt.badge.img+14
  • Scholar
  • Jun 8, 2018 9:50 AM UTC

can happen, nintex often changes internal models and functionality of single controls which causes custom scripts to fail.

not sure what exactly you mean with older versions, but if I recall correctly it should work for versiosn from some 2.7 and above

Translate