Skip to main content
Nintex Community Menu Bar

How to notify user's manager if there's a change in the approval field.

  • May 8, 2019
  • 3 replies
  • 11 views

Forum|alt.badge.img+2

Hi,

I have a approver field which auto-populate user's manager from AD. If user's change the approver to someone else, I want their designated manager as per AD to be notified that they have change the approver name to someone else.

 

Any idea on how I can do that?

 

3 replies

Forum|alt.badge.img+14
  • Scholar
  • May 8, 2019

Do you mean to send notification just in case when approver changes from manager to userX?

or do you mean to send notification as well in case when later  approver changes from userX to userY? or possibly from userY back to manager?


Forum|alt.badge.img+2
  • Author
  • Rookie
  • May 10, 2019

Hi,

Yes send notification to the Manager(from AD) when user change to ManagerX.

 

 

 


Forum|alt.badge.img+14
  • Scholar
  • May 10, 2019

ok, so I'd suggest following

 

- since nintex doesn't provide acces to previous field value, you'll have to keep track of that on your own. so add a field to list like prev_approver. ta the beginning populate it with the same value as existing approver field

 

- create a workflow that start conditionaly when 'Approver' is not equal 'Approver (prevous value)'

 

- within the workflow check if (current) value of Approver equals to user manager. if it does, up can ignore the change

 

- if above was not the case check then check whether value prev_approver equals to user manager. if it does send nitification. if it doesn't you can ignore the change.

 

- finally copy current value from Approver to prev_approver