工作流程更改标题文件的名称
-
09-12-2019 - |
题
我想创建可以更改标题和名称的工作流程。
此工作流程在创建或更改元素后激活。
我试着得到这样的东西:
Name - Identyfication_number
问题是强加元素。当我有任何修改此文件时,标题和名称如下所示:
Name - Identyfication_number - Identyfication_number - Identyfication_number...
如何停止此乘法?
我被认为使用:
-
工作流程中的条件
- 手动激活(检查突出显示的字段)
解决方案
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.