Pregunta

Quiero crear flujo de trabajo que puede cambiar el título y el nombre.

Este flujo de trabajo se activa después de crear o cambiar el elemento.
Intento conseguir algo así:

Name - Identyfication_number

El problema es la imposición del elemento.Cuando tenga alguna modificación de este archivo, el título y el nombre se ve así:

Name - Identyfication_number - Identyfication_number - Identyfication_number...

¿Cómo puedo detener esta multiplicación?

Consideré para usar:

  1. condición en el flujo de trabajo
  2. Activación manual (verifique los campos resaltados)
¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
scroll top