Workflow-Ändern von Titel Ein Name der Datei
-
09-12-2019 - |
Frage
Ich möchte einen Workflow erstellen, der den Titel und den Namen ändern kann.
Dieser Workflow aktiviert nach dem Erstellen oder Ändern des Elements.
Ich versuche so etwas zu bekommen:
Name - Identyfication_number
Das Problem ist Auferlegung des Elements.Wenn ich eine Änderung dieser Datei habe, sieht der Titel und der Name so aus:
Name - Identyfication_number - Identyfication_number - Identyfication_number...
Wie kann ich diese Multiplikation aufhalten?
Ich habe es gelten, zu verwenden:
- .
- Zustand im Workflow
- manuell Aktivierung (Überprüfen Sie die markierten Felder)
Lösung
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.