Skip to main content
Nintex Community Menu Bar

Nintex form - approver must be the same person

  • Nov 20, 2017 4:20 PM UTC
  • 6 replies
  • 26 views
  • Translate All

Forum|alt.badge.img+9

I have a nintex form with two sections which relates to a person approving two different things.

What I need is the person who approved section one only to be able to approve section 2. The approved field is a choice field with two choices: To be confirmed (default) and approved.

When the approved field is completed the system collects the username of the person who updated the field and put it in the approver name field.

What validation do I need?

Can you say that a field must be completed by username xxxxxx?

6 replies

Forum|alt.badge.img+16

on the control can you have appearance > enabled > expression

and expression to make use of this function?

Returns true if the current user is the same user specified in the string value.
fn-IsCurrentUser(string loginname)

You could pass in the approver of section one?

Translate

Forum|alt.badge.img+9
  • Author
  • Rookie
  • Nov 22, 2017 11:27 AM UTC

Thanks Cassy 

So for the return of true/false - what happens? If its false does the error message show?

Translate

Forum|alt.badge.img+16

your expression for the control being enabled equates to the outcome of that expression.

i.e. if person is approver 1 - enabled = true

if person is not approver 2 - enabled = false

Translate

Forum|alt.badge.img+9
  • Author
  • Rookie
  • Nov 22, 2017 12:13 PM UTC

Hi 

I don't seem to have the expression field. I tried you suggestion in the validation, but no luck.

Translate

Forum|alt.badge.img+16

in the above - under appearance and enabled - choose dropdown and choose expression

Translate

Forum|alt.badge.img+9
  • Author
  • Rookie
  • Nov 22, 2017 12:35 PM UTC

Many thanks  it works!

Translate