工作流参数以启动“收集签名"工作流(SharePoint Online) [英] Workflow Parameters to start the Collect Signatures Workflow (SharePoint Online)

查看:92
本文介绍了工作流参数以启动“收集签名"工作流(SharePoint Online)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在致力于为公司中的每个人复制文档的工作流程,因此我们都可以签署不同的文档.复制文档后,代码将启动与列表关联的可重复使用的工作流程.我可以开始 工作流程,但问题是我无法将任务分配给用户.  下面是我用于ajax请求正文的对象.

I have been working on a workflow that copies a document for everyone at my company so we can all sign a different document. Once the document is copied then the code starts the reusable workflows that has been associated to a list.  I am able to start the workflow, but the problem is I am unable to assign the task to a user.  Below is the object I am using for the body of the ajax request.

{"workflowParameters":[{"__ metadata":{"type":"SP.KeyValue""},"Key":"Signers","Value":"johndoe @ example" .com","ValueType":"Edm.String"}]};

{"workflowParameters":[{"__metadata":{"type":"SP.KeyValue"},"Key":"Signers","Value":"johndoe@example.com","ValueType":"Edm.String"}]};


推荐答案

必须在工作流上创建任务,并在此任务上使用参数.

The task must be created on the Workflow, and use the parameters on this task.

您可以创建任务,但不会将其与Workflow实例相关联.

You can create a task but it not will be associed with the Workflow instance.

祝你好运


这篇关于工作流参数以启动“收集签名"工作流(SharePoint Online)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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