cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Make attachment require when the decision is equal to approve.

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.

Tags (1)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: Make attachment require when the decision is equal to approve.

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)‍‍
0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Make attachment require when the decision is equal to approve.

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.

Accept as Solution Reply
Workflow Hero

Re: Make attachment require when the decision is equal to approve.

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

0 Kudos
Accept as Solution Reply