Título de cambio de flujo de trabajo Un nombre del archivo
-
09-12-2019 - |
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:
- condición en el flujo de trabajo
- Activación manual (verifique los campos resaltados)
Solución
Why not just check if Title/Name already ends with the wanted string, and if so skip the updating.
- Build the Suffix in a workflow variable.
- Check if Title (or Name) not ends with suffix (using "If current item field equals value" action)
- If thats the case update
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.