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

using switch case set a field value comparing modified by with reviewer

I am trying to set a field value for reviewer 1 when last modified by reviewer 1 and similarly for other reviewers. the reviewer1 is a person / group field with account as display, how can i achieve this. below is the screenshot of my workflow which is not working.

Reply
3 Replies
Automation Master
Automation Master

Re: using switch case set a field value comparing modified by with reviewer

Log out the variable you are comparing against your switch branches to see if it holds the value you would expect.  It is easy to get "additional and unexpected" characters when dealing with certain data types... mainly people, times, dates

Reply
bashyarajan
Nintex Newbie

Re: using switch case set a field value comparing modified by with reviewer

Hi Altaf,

            You can capture the approver's name .

1.You can save the name of the person who had acted on the task (from : Modified by field of SharePoint list).  

2.Save this name in a WF Variable and compare it with the SharePoint Groups .

3.Accordingly your switch will work.

4.I would suggest you ti hard code the users or values in SWITCH case if it is less than 5.

Hope this works for your scenario.

Regards

Bashya Rajan A

0 Kudos
Reply
Automation Master
Automation Master

Re: using switch case set a field value comparing modified by with reviewer

Were you able to log out your values to see if you were comparing the values you expected?

0 Kudos
Reply