![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Query for task not in a folder Topic Summary: Created On: 8-Jul-2005 08:32 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hello !!!! :-) When a task is added to a folder, a task_in_folder relation is created between these two objects. You can show this relation using CM CLI: ccm relate -show -name task_in_folder so to query all tasks not belonging to any folder, you can use the following CLI query: ccm query -t task "not is_task_in_folder_of(cvtype='folder')" Just prefix relation name by "is_" and suffix it by "_of". Vincent | |
![]() |
|
What should a query for to catch all task in a database that are not in used by any folder.
Example: we receive tasks from a remote DB with a DCM (also objects with that tasks) but there are still not completed are accecpted there, so they are not part of "integrated tested .... folder".
These tasks we wonna query for.
Thanks
|
|
![]() |
|
![]() |
|
Hello !!!! :-)
When a task is added to a folder, a task_in_folder relation is created between these two objects. You can show this relation using CM CLI: ccm relate -show -name task_in_folder so to query all tasks not belonging to any folder, you can use the following CLI query: ccm query -t task "not is_task_in_folder_of(cvtype='folder')" Just prefix relation name by "is_" and suffix it by "_of". Vincent |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
Query for task not in a folder
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.