使用SPD工作流创建主任务和子任务 [英] Creating Master Task and Subtask using SPD Workflow

查看:206
本文介绍了使用SPD工作流创建主任务和子任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请原谅我的Sharepoint知识,因为我已经开始进行SharePoint设计和开发. 3天前开发人员.

Please pardon my Sharepoint Knowledge as I have started Sharepoint Designing & Dev just 3 days ago.

场景::在列表"A"中创建项目时,存在列表"A".需要采取以下行动:

Scenaio: There is a list "A", upon creating an item in list "A" following action need to take place:

1.在列表B中创建一个项目,其中包含列表A中的几列

1. Create an item into List B with few columns from List A

2.在默认任务列表中创建主任务

2. Create a Master Task in Default Task List

3.在默认任务列表"中的主任务"下创建5个子任务

3. Create 5 Subtasks under the Master Task in Default Task List

问题:我能够创建主任务"和"5个任务",但无法创建与主任务"相关的5个任务,因此所有6个任务都显示在同一级别,没有任何任务等级制度.

Issue: I am able to create the Master Task and the 5 Tasks but not able to make the 5 tasks related to the Master Task and hence all the 6 tasks appear at the same level without any hierarchy.

这是我从SPD工作流创建任务时要实现的目标

This is what I am looking to achieve while creating Tasks from the SPD Workflow


任何建议将不胜感激.

推荐答案

Hi Vips,

Hi Vips,

据我所知,创建子任务仅在任务列表UI中可用.

Per my knowledge, creating sub task is just available in Task list UI.

主任务和子任务使用相同的内容类型,可以通过名为ParentID的隐藏查找列来区分它们.

Master task and sub task use the same content type and they can be distinguished by a hidden lookup column named ParentID.

作为一种解决方法,我建议您在此列表中添加一个新列,例如带有yes/no选项的choice列,以区分主任务和子任务.

As a workaround, I suggest you adding a new column to this list such as choice column with yes/no option to distinguish the master task and sub task.

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于使用SPD工作流创建主任务和子任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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