我想创建可以更改标题和名称的工作流程。

此工作流程在创建或更改元素后激活。
我试着得到这样的东西:

Name - Identyfication_number

问题是强加元素。当我有任何修改此文件时,标题和名称如下所示:

Name - Identyfication_number - Identyfication_number - Identyfication_number...

如何停止此乘法?

我被认为使用:

    工作流程中的条件
  1. 手动激活(检查突出显示的字段)
有帮助吗?

解决方案

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归因
scroll top