如何在与内容类型关联的全局发布的工作流程中获取子列表项? [英] How to get child list items in globally published workflow associated with content type?

查看:109
本文介绍了如何在与内容类型关联的全局发布的工作流程中获取子列表项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我对使用SharePoint 2010工作流的SharePoint还很陌生.我创建了一个内容类型到期日期"具有两列到期日期"和标题",并且此内容类型还具有与之关联的全局发布的工作流,用于检查到期时间" 日期并生成电子邮件(如果该项目已过期)(直到这里一切都很好,很容易).

我在名为"Project"的子站点自定义列表之一中使用此内容类型.其中还有几列(例如项目名称,业务部门等)以及到期日期.在我的工作流程中源字段"下,我只能访问这些值 内容类型(标题和有效日期)和其他字段(在此情况下对我来说毫无用处).

问题#01:

在我的电子邮件通知中,我想从项目"列表中捕获其他字段.由于某些原因,我无法看到这些字段.

问题#02:

当前项目:状态字段也不可用,以便我检查逻辑中的工作流状态.

有人可以帮我找到解决该问题的方法吗?

干杯,

萨奇布.

Hi Folks,

I am fairly new to SharePoint, using SharePoint 2010 Workflow. I have created one Content Type "Expiry Date" that has two columns Expiry Date and Title and this content type also has globally published workflow associated with it that check the Expiry date and generates email if the item reached to its expiry (till here every thing is nice and easy). 

I use this content type in one of the sub-sites custom list named "Project" that has few more columns (like Project Name, Business Unit etc.) along with the expiry date. In my workflow under "Field from Source", I can only access the values of Content Type (Title & Expiry Date) and bunch of other fields (that of no use to me in this context). 

Problem# 01:

In my email notification, I want to capture other fields from Project list. For some reasons, I am unable to see these fields.

Problem# 02:

Current item:Status field is not available either in order for me to check the status of the workflow in my logic.

Could anyone help me to find the solution for this problem(s)? 

Cheers,

Saqib.


推荐答案

萨基布,你好,

您可以创建并使用列表工作流程,而不是可重复使用的工作流程.

在创建与网站内容类型相关联的可重用工作流时,仅此网站内容类型中使用的网站列可以在此可重用的工作流程中使用.因此,您不能 找到其他字段,希望标题和有效日期.

When creating a reusable workflow associated to a site content type, only site columns used in this site content type can be used in this reusable workflow. So that, you cannot find other fields expect Title and Expiry Date.

为此Project列表创建列表工作流程可以满足您的要求.

最好的问候,

张琳达


这篇关于如何在与内容类型关联的全局发布的工作流程中获取子列表项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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