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

Nintex form - approver must be the same person

Jump to solution

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?

Reply
6 Replies
Workflow Hero

Re: Nintex form - approver must be the same person

Jump to solution

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?

Reply
Workflow Hero

Re: Nintex form - approver must be the same person

Jump to solution

Thanks Cassy 

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

0 Kudos
Reply
Workflow Hero

Re: Nintex form - approver must be the same person

Jump to solution

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

0 Kudos
Reply
Workflow Hero

Re: Nintex form - approver must be the same person

Jump to solution

Hi 

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

0 Kudos
Reply
Workflow Hero

Re: Nintex form - approver must be the same person

Jump to solution

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

Reply
Workflow Hero

Re: Nintex form - approver must be the same person

Jump to solution

Many thanks  it works!

Reply