×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Identify duplicate before inserting a record using SPD workflow

Identify duplicate before inserting a record using SPD workflow

Identify duplicate before inserting a record using SPD workflow

(OP)
I have a SP list called Advisors that holds council member information. The unique identifier is the ID created by the list. I have SPD workflow that runs when the Advisors form is edited and the mentorship field is set to active. The workflow copies over the ID and member name to the Mentors list. The problem arises when the form is edited more than once. The workflow will continue to send the record that has the mentorship field set to active over and over again to the Mentors list. This causes duplicates. I am looking for a way to compare the Advisors ID field and the Advisor ID in the Mentors list, and if they match, cancel the creation of the new record in the Mentors list.

Thanks for any assistance.

RE: Identify duplicate before inserting a record using SPD workflow

high level idea.

query the other list.
if item does not exist, do some action.

-----
create workflow variable,
click on value.
change the data source to your Mentor list.
Populate the remaining fields.

then do an If statement.
If Variable is empty
--> do action

---
you can also do the same thing above in a single If Condition:
If Value equals any value

http://www.sharepointed.com/

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close