Post

2 followers Follow
0
Avatar

How to find the Top Level parent item by Work Flow ?

In project module, I can filter the result by "Show only top level items", and it would only show the projects on the highest level and not the sub projects underneath them.

Is it possible to use this method in Work Flow?
 
Because I want to find the top level item in any one item, like attachment.

 
 

 

Leon Lee Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Leon,

 

Unfortunately you cannot query Clarizen recursively in the context of business rules. However you can use a WR to populate the top Parent Link each time a new Work Item has been created. Having said that you still need to address existing work items as well as change in hierarchy.

Basically the solution is comprised of 1 WR and one CA to help populate the value for existing WI in the system. After installing the app you'll have to filter your view using the Top Level Filter and then run the CA on the respective projects (you can run up to 30 projects at a time).

The use case for changing parents can is prone to bugs and I'm afraid it's not going to be robust, therefore, I didn't try to build a WR to meet that need. 

https://app2.clarizen.com/Clarizen/View/Default.aspx?id=3tbh8z5weqhpw2zbqqwsc9jma1632&type=Published+Application&ver=v6

 

Good luck!

Tamir

Tamir Avital 0 votes
Comment actions Permalink