cancel
Showing results for 
Search instead for 
Did you mean: 
milkdud1
Nintex Newbie

Check weekly if Department/Sub-Department/Location changed based on user profile

I am building a site that will track a list of team leaders for each dept.

We dont have enterprise version so no query user profile

We have query LDAP but i'd like to avoid it if possible

 

Without using query  I want to be able to check if a person on the list has changed  either depts ,sub-depts, or office location based on their user profiel.

 

Here is what I have so far

 

On the SharePoint site have  fields for :

Office Location: The field is a single line of text

Department: The field is a single line of text

Sub-Department: The field is a single line of tex

 

After creation I built the workflow to "set field value" for  all 3 fields  using the person listed as "team leader"  user profile . 

example:

Set: Office location

Equals: user profile (

Source: Office  (was a drop down selection)

When: Account name (this was pre-set)

Equals: value <team leader name> (from item properties)

 

Can anyone guide me how I can build a second workflow to run once a week to store the current value for the 3 fields then compare to the users current info for those 3 on the user profile.

 

Thank you so much in advance

 

Labels: (1)
0 Kudos
Reply
2 Replies
milkdud1
Nintex Newbie

Re: Check weekly if Department/Sub-Department/Location changed based on user profile

I forgot to add then I want the results emailed to me showing either no change at all or an email saying whioch person had a change

0 Kudos
Reply
Tarf
Nintex Newbie

Re: Check weekly if Department/Sub-Department/Location changed based on user profile

You could add another list with a "current" and a "history" field.

For example:

User - Department_History - Department_Current

  • Have a workflow populate the "Current" Field and check afterwards, if history and current are different. if yes -> Notify someone
  • Then overwrite the history field with the current value.

Or, if you dont care about the history entry:

  • Populate the a variable named current with the current value
  • Check it against the item field (no need for 2 fields in this case)
  • If different -> Notify
  • Update the field on the item
0 Kudos
Reply