Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Limit to number of states in a workflow?

Is there a limit to the number of states you can have in a workflow?

One customer had 60 states each in a few workflows. They found some operations didn't quite work in Eclipse on Windows, which would show the states incorrectly and issue this error:

org.eclipse.swt.SWTError: No more handles

0 votes



One answer

Permanent link

The limit they happened across is that Windows doesn't allow more than 10000 "USER objects" and Eclipse creates about 5 USER objects for each intersection between two states, when displaying a workflow.

So number of USER objects = constant of ~700 + number of states * number of states * 5, roughly.

This means that if you need to have more than about 40 states, you may need to edit the workflow using the web client, or using the XML view in Eclipse.

You should then also consider whether some of the workflow should be encoded differently, such as using an attribute or using separate work item types. Having a very large number of states is an anti-pattern and will not be easy to maintain.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,132
× 127
× 10

Question asked: Nov 08 '16, 6:41 a.m.

Question was seen: 2,625 times

Last updated: Nov 08 '16, 6:41 a.m.

Confirmation Cancel Confirm