Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to create workflow which can change the Title and the Name.

This workflow activate after create or change element.
I try to get something like that:

Name - Identyfication_number

The problem is imposition of the element. When I have do any modification of this file the title and the name looks like this:

Name - Identyfication_number - Identyfication_number - Identyfication_number...

How I can stop this multiplication?

I considered to use:

  1. Condition in workflow
  2. Manually activation (check the highlighted fields)
share|improve this question

1 Answer 1

up vote 1 down vote accepted

Why not just check if Title/Name already ends with the wanted string, and if so skip the updating.

  1. Build the Suffix in a workflow variable.
  2. Check if Title (or Name) not ends with suffix (using "If current item field equals value" action)
  3. If thats the case update

enter image description here

Note that until you've selected the first item in the If the comparison is limited to "equals"/"not equals", but as soon as you select a text field you get a lot of options.

share|improve this answer
    
How I can do that? –  Krzysztof S. Jun 20 '12 at 9:43
    
See expanded answer –  Per Jakobsen Jun 20 '12 at 10:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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