问题描述
我正在使用SP 2010
I am using SP 2010
在库中,我添加了一个Lookup字段,用于存储要授予读取权限的组的名称(默认权限之外)
In the library I added a Lookup field where I store the name of the groups I want to grant read permissions (on top of the default permissions)
如果该字段具有一个名称,则工作流会完全分配权限
If the field has one name, the workflow assign the permission perfectly fine
如果该字段具有2个或多个名称(它们以分号分隔存储),则工作流将产生错误.
If the field has 2 or more names (they are stored separated by semicolon), the workflow produces an error.
我想知道是否可以将名称逐个发送到工作流变量,这样我将能够为每个变量运行指令.
I want to know if it is possible to send the names to a workflow variable one by one so I will be able to run the instruction for every variable.
我知道每个人都必须这样做,因为SP 2010中没有LOOP功能,但是我只有10个可以选择,因此如果需要,我愿意做10次.
I know that I will have to do it for each one because there is not LOOP function in SP 2010, but I only have 10 to chose from, so I am willing to do it 10 times if needed.
换句话说,如何使用SPD 2010拆分包含用分号分隔的值的字符串字段?
In other words, how can split a string field that contains semicolon separated values using SPD 2010?
谢谢
Danilo
Danilo
推荐答案
我建议您创建一个自定义操作来实现它.
I suggest you create a custom action to achieve it.
以下是解决方案供您参考:
Here is solution for your reference:
https://spdwfstringactions.codeplex.com/
最好的问候,
丹尼斯
这篇关于使用分号分隔的值分割库字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!