@imflowers ....I'm guessing your Department is a SharePoint column and Job Title 1, 2, 3,... are the values. All you need to do is instead of putting the hard code value of Job Title...you insert Deptartment from the item property.
@imflowers, if I understand what you are trying to accomplish, I assume there is a condition which determines the associated job, and department? You could accomplish this in many ways: you could create a reference list, which includes the condition field, with the resulting Job name and department, and include a lookup to the condition field, then use a switch action to assign your email notification via that list. You could set conditions in the workflow, that define the Job and department. I will be happy to help you, if you want to share more details.
Thank you for your reply @kunalpatel and @efarley ! I am trying to get this data from a SharePoint Group. I have not done this before and I can't find any step-by-step tutorials (I am also not a developer). Thank you!
@imflowers using query user profiles get the user's information and then put your assign task action inside Run If action. Using AND operator put your two condition if job workflow variable = Job III AND department workflow variable is Dept. I
@imflowers, if you have an active support contract for Nintex, you should be able to access Nintex University. There are some tutorials there: https://learn.nintex.com/ [go.nintex.com]
Thank you @kunalpatel. How do I query a SharePoint group? I only have Organizations and AD as options.
@imflowers try to build follow steps:
- Using Call Web Service, get the members from the SharePoint group and store it in a collection variable
- Using for loop get each member
- Inside for loop add Query User Profile action(s) and get all the information you need
- Add Run If and if conditions are met then send email.
Remember that the loop will not move further if the task is not yet completed. So I'll suggest you create a new workflow that will create the task only.