获取“下一个号码"时的并发问题SPD 2013 SharePoint Online [英] Concurrency issue when getting "Next Number" SPD 2013 SharePoint Online

查看:58
本文介绍了获取“下一个号码"时的并发问题SPD 2013 SharePoint Online的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有一个表单库工作流,该工作流使用Web服务调用来查询另一个列表中的项目编号列表,然后从数字字段中获取最大编号,将其加1并将该编号指定为下一个可用号码.

Hello all, I have a form library workflow that uses a web service call to query a list of project numbers in another list, then gets the max number from a number field, adds 1 and assigns that number as the next available number.

也有一个批准过程.除非批准者背对背打开表单并快速批准2个或更多表单,否则它将非常有效.然后会间歇性地分配相同的数字.

Also there is an approval process. It works perfectly unless the approver opens the forms back to back and approves 2 or more forms quickly. then the same number gets assigned (intermittently).

我想知道是否需要添加"Pause"(暂停)?或等待字段更改当前项目".行动.工作流程正在同时运行并获得相同的MaxNumber.我希望工作流程创建新项目,完成并 然后开始下一个创建新项目".

I was wondering if I need to add a "Pause" or "Wait for field to change in current item" action. The workflows are running concurrently and getting the same MaxNumber. I want the workflow to create the new item, complete and then start the next "create new item".

感谢您的帮助,我在Nintex进行了这项工作,并受命在SPD中创建相同的东西

Thanks for any help, I had this working in Nintex and was tasked to create the same thing in SPD

推荐答案

can "add a "Pause" or "Wait for field to change in current item" action" solve your problem? what if in the situation that the network is not so good.

这是我的意见

1.更改,将列表视为sql数据表不是很好.

2.如果您想这样做,建议您在获取最大数量时创建最大数量项目.


这篇关于获取“下一个号码"时的并发问题SPD 2013 SharePoint Online的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆