cancel
Showing results for 
Search instead for 
Did you mean: 

Forms in Activiti

ivan_hajdinjak
Champ in-the-making
Champ in-the-making
Greetings,

i'm interested in writing my own forms in Activiti. I've made integration with Eclipse and i'm stuck there. Can anyone give me link or some tutorial how to write forms ? In Activiti Designer it cannot be done, just designer is enabled. Drawing forms is not implemented as far as I know.

True regards,
Ivan Hajdinjak
8 REPLIES 8

frederikherema1
Star Contributor
Star Contributor
The latest version of the designer allows you to specify formProperties. Based on these, you can draw a form in your own technology. I suggest you reading http://activiti.org/userguide/index.html#formProperties and http://activiti.org/userguide/index.html#externalFormRendering.

These form-properties will be rendered in explorer very soon, out of the box (within 2 months)

burn83
Champ in-the-making
Champ in-the-making
Hi Ivan….have you founded any tutorial with the explaination about building a new form!!?

I have understand that it's possible to add "<activiti:FormProperty>" in the <usertask>, that it is contains in the xml of the process, but i not able to build my personalized form (for example with any logo, any select etc..)

jbarrez
Star Contributor
Star Contributor
Check the examples that are shipped with Activiti explorer, there are a few which use the form properties.

burn83
Champ in-the-making
Champ in-the-making
I Have read any examples..but i didn't found anything about my problem…

My Question is: Can I add any logo or jpeg image in my form!?
When i'm using activiti:FormProperty i can use only string, long etc…

jbarrez
Star Contributor
Star Contributor
Yes, the forms currently are only allowing to add primitives (and users) types.

If you want to change the images or add some logo, you'll need to change the code of the Explorer app.

burn83
Champ in-the-making
Champ in-the-making
Yes, the forms currently are only allowing to add primitives (and users) types.

If you want to change the images or add some logo, you'll need to change the code of the Explorer app.

Can you provide me any example to do that?!

I simply would add a png logo before the extension element of my form.

Can i do that?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Can you provide me any example to do that?!

The sourcecode of the explorer is open. It uses vaadin, so it should not be to difficult to find that out yourself.

udoderk
Champ in-the-making
Champ in-the-making
Yes, the forms currently are only allowing to add primitives (and users) types.

If you want to change the images or add some logo, you'll need to change the code of the Explorer app.

Can you provide me any example to do that?!

I simply would add a png logo before the extension element of my form.

Can i do that?

look at thatpost Smiley Wink (that comment)