带有自定义工作流程按钮的自定义显示表单
我创建了一个新的自定义列表表单,它将在页面上显示名为“发货”的自定义列表中的 4 个字段。我添加了表单操作按钮,我想运行在工作流程内设置的自定义操作。目前,该表单显示“舱单编号”、“提货地点”、“交货地点”等字段。 “预定接机时间”。当用户单击“表单操作”按钮时,我希望工作流执行的操作是转到表单中显示内容的 ID 字段,并将“已拾取”列的值从“否”更改为“是”。我遇到的问题是将显示信息的 ID 作为变量从表单传递到工作流程。如果我在“查找列表项”部分下的“更新列表项”窗口中指定值,我可以更新“已拾取”列,但我无法弄清楚如何从表单动态执行此操作
I have created a new custom list form that will show 4 fields on the page from a Custom List called "Shipment". I have added Form Action button that I would like to run a custom action that is set inside of a Workflow. Currently, the form displays the fields for "Manifest Number", "Pickup Location", "Delivery Location", & "Scheduled Pickup Time". When the user clicks the Form Action button, what I want the Workflow to do is go to the ID field of the displayed content in the Form and change the value of the "Picked Up" column from No to Yes. The problem I am having is passing the ID of the displayed information from the Form to the Workflow as a variable. I can get the "Picked Up" column to update if I specify the value in the "Update List Item" window under the "Find the List Item" section, but I cannot figure out how to do this dynamically from the Form
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要添加一个隐藏字段来存储自定义列表表单中的 ID。复制显示“清单编号”的行并将其更改为指向 ID 字段。将变量名称更改为 ff6 或类似名称(假设您已经只有 5 个字段)。现在,当您在 SPD 中打开自定义操作工作流程时,ID 字段应该可用作过滤器。
希望这有帮助。
You need to add a hidden field to store the ID in the custom list form. Copy the line that displays "Manifest Number" and change it to point to the ID field. And the change the variable name to ff6 or something like that (given you already only have 5 fields). Now when you open the custom action workflow in SPD the ID field should be available for your apply as a filter.
Hope this helps.