"The Query cannot be used in a process template “ Why ?
ANIL ABRAHAM (23●2●20●24)
| asked Aug 05 '12, 10:52 p.m.
retagged Aug 06 '12, 1:10 p.m. by Chris Goldthorpe (428●7)
When i was updating a query in Process Tempate , i receive a warning - "The Query cannot be used in a process template “ .
Any feedbacks ?
|
Accepted answer
Please see this jazz.net forum question for the answer:
Ralph Schoon selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
The message is coming from the work items component - the message is defined in /com.ibm.team.workitem.common/src/com/ibm/team/workitem/common/internal/query/util/messages.properties. I will notify someone from that team so they can answer this post.
Anil, Can you give any further information on the query you are constructing? This is a generic error message so examining the code isn't telling me much. Also are you saying you see all of the formatting text above, or is that a result of copy and paste from the error message?
@dbpool I expect that extra formatting is a paste issue from IE. @anilcabraham It probably has something to do with what is in the query. According to this other post with a similar issue, some references are non-portable between repositories so they don't "qualify" to be part of a process template: https://jazz.net/forum/questions/20907/this-query-cannot-be-used-in-a-process-template
In particular, could you open up the "detail" section of the error message. In the other post, that provided the key information needed to understand why the query was rejected.
The details of the error displays ""Owned by" reference a value that is not part of the process definition . By i have created another query with "Owned by" , ut doesn;t have any issue .