0

I have a sales leads list that users add a sales leads into. Salespersons will come in and view these sales and can edit them and add a name of another salesperson to the item in a 'refer to' column.

Is it possible to notify a person when they have been added to the 'refer to' column and email them?

1 Answer 1

1

We can achieve it by creating workflow in SharePoint, I am sharing the basic steps to for creating the workflows. In the explanation below I'm using SharePoint 2013 but it is absolutely same in SP2010 or/and on premises, and even in SP2007 the process is very similar.

1) You will need SharePoint Designer installed on your computer.

For Creating workflow:

2) Open SharePoint designer

3) Open your site

4) Go to Workflows

5) Click 'List Workflow' on ribbon and select your list

6) Add 'Send email' action

7) Configure 'Send email' action to use refer to field for determining recipients of email. Also define the body block for the message. You can also use different lookups here, for example inserting values from the item or item URL, etc.

8) Now go to 'Workflow Settings'

9) Setup workflow to start whenever item is created or changed.

10) Publish your workflow.

This workflow will send Email to the user in refer to field whenever list item will change. If you want to track only the change in refer to field then you need to create one more hidden field in your list as "previous refer to".

You can add user name to this field using workflow. Every time after sending email notifications check this previous refer to and refer to is different or not. If they are different then send email and set "previous refer to" field.

How to make hidden field:

  1. Create new person or group field named "previous refer to".

  2. Go to List Settings > Advanced Settings.

  3. Select Yes on Allow management of content types?

  4. Click on the existing content type under the Content Type section.

  5. Next, click on the column you intend to hide, and choose the option Hidden. Click OK.

How to check if the field is empty in workflow:

  1. Set workflow variable to your "previous refer to" field.

  2. Add IF condition in workflow and check if the newly created variable is empty or not.

Source: How to check Person or group field is empty or not.

2
  • Could you explain how to make the hidden 'previous refer to' field and check it for being null? Commented Nov 7, 2018 at 3:31
  • Yes. Please refer updated answer. Commented Nov 7, 2018 at 3:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.