Вопрос

Я хочу создать рабочий процесс, который может изменить заголовок и имя.

Этот рабочий процесс активируется после создания или изменения элемента.

Я пытаюсь получить что-то подобное:

Name - Identyfication_number

Проблема заключается в наложении элемента.Когда я выполняю любую модификацию этого файла, название и имя выглядит так:

Name - Identyfication_number - Identyfication_number - Identyfication_number...

Как я могу остановить это умножение?

Я считал, чтобы использовать:

  1. Состояние в рабочем процессе
  2. активация вручную (проверьте выделенные поля)
Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top