![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Query for Objects not on Tasks Topic Summary: Unassociated objects Created On: 24-Nov-2004 17:46 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: First: here is the query you were looking for : ccm query "has_attr('source') and not is_associated_cv_of(cvtype='task')" Second: however, this query should never bring any result, as checking out a file with no default task should not be allowed in SYNERGY production databases. Have you checked that your settings are correct ? HTH | |
![]() |
|
Somehow our developers have figured out how to check out and check in objects not on tasks. I am trying to find all objects in our database that are not currently associated to a task. Any ideas?
Thanks! Nate |
|
![]() |
|
![]() |
|
First: here is the query you were looking for :
ccm query "has_attr('source') and not is_associated_cv_of(cvtype='task')" Second: however, this query should never bring any result, as checking out a file with no default task should not be allowed in SYNERGY production databases. Have you checked that your settings are correct ? HTH |
|
![]() |
|
![]() |
|
Vincent is totally correct in his second statement. In more detail...this will depend on whether the type def "Require Task at" is correctly set to "Working" (this should be applied to all types through applying the change to the Supertypes - ascii/binary - and any other supertypes you may have. By doing this the change will be applied to all your types in the database).
One issue you may have though is developers occasionally disassociating objects (whether it be by accident or otherwise) from tasks that are assigned to them and still in task_assigned (i.e. through the task browing view). Thus, it is possible to "orphan" the objects in question. Bearing this in mind, I believe there is still a need for an occasional run of a "checking" script. Cheers, Nige |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
Query for Objects not on Tasks
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.