How to resize Task box in Camunda Modeler?

Hi all,

I have found this older topic:

Text box in task - camunda-bpm-users, Google Groups

When I create a new activity and would like to write a text inside it
e.g. login to the system. I cannot change the size of that text box.
Cannot chage to make its alignment right or left. Any suggestions?

It is not possible to resize text box of the task. Instead of
resizing the text box you are always able to resize the task, so that
the text does fit into the text box.

I don’t think this (“resize the text box”) applies anymore, because on my Camuynda Modeler v0.34.3, running on Ubuntu 14.04, I get something like this:

Basically, when I edit text inside the Task box (shown on left), I do get a handle on the bottom right corner, which I can drag, and which apparently changes the size of the text box (not of the task box, whose borders are still somewhat visible in the back - and btw, this is in complete opposition of the advice given in the post at the link given above).

But then, when I press Enter so changes are accepted, and the Task box is redrawn in full (shown on right), I can see that the change of the text box size did not influence at all the size of the task box; and furthermore, there are not any handles that I could use for dragging to resize the task box - nor can I see any other method to resize the Task box.

So, is it possible to resize the Task box in Camunda - and if so, how?

Hi,

It is a deliberate decision to disallow reisizing tasks. See this discussion in the bpmn.io forums for the reason.

Cheers,
Thorben

Hi @thorben,

Many thanks for the answer:

OK, now I see why I was not able to do anything about resizing task boxes…

Cheers!

The behavior you would like to see will apply for text annotations and external labels (on start events and gateways) with any of the next Camunda Modeler releases.

We will stick to tasks not being resizable for the reasons @thorben pointed you to.

1 Like

@nikku

Is this really the case? I cannot resize start event labels using v1.0.0… Am I missing something??

Thanks

What would you like to achieve and why?

1 Like

I’d like to be able to resize text labels for neatness purposes while process drafting. For example,I can resize the text box as such below…

But once I click outside of it, it goes back to being five lines

That one decision not to allow resizing od task boxes must have lost many thousands of users for camunda. Its such a basic need for modelling. Crazy decision

1 Like

The choice to prevent people from re-sizing their activities is to save you from yourself :slight_smile:
Generally speaking if the name of your activity has gotten so big that it doesn’t fit in the box it’s a bad name. A core practice of using BPMN is to ensure that the model is easy to read and understand quickly. if activity names are succinct and the symbols are uniform the model is demonstrably easier and faster to comprehend.

If you need additional information on your task - BPMN has annotations and cawemo.com lets you add comments and documents to tasks.

I hope this helps you understand that our decision is the right one.

3 Likes