cancel
Showing results for 
Search instead for 
Did you mean: 

problem with the form keys in user tasks and start event

max-2001
Champ in-the-making
Champ in-the-making
Hi @ all,

I have a small question:
I've added two *.form files to my package where the process diagram are stored and added them to my process in a start event and a user task as form key like "org/activiti/rec/request.form"

Added the form also in my build file to deploy them.
The problem is, that the form is not shown when I start my process?
Have I missed some configuration?

thanks and regards,
max
9 REPLIES 9

max-2001
Champ in-the-making
Champ in-the-making
some additional infos:

I've tried the same with an very simple process (startevent-usertask-endevent) with the same result.

Project details:
- diagram is under: src/main/resources in package diagrams

my process contains the start event with the form:
<startEvent id="request" name="Start" activiti:formKey="diagrams/request.form"></startEvent>
the request.form is the form from the activiti demo (vecationrequest).

thx and regards,
max

trademak
Star Contributor
Star Contributor
Hi,

Which version of Activiti are you using?
Since version 5.7 we use form properties and forms are not supported anymore in the Activiti Explorer.
You can read more about form properties in the user guide.

Best regards,

max-2001
Champ in-the-making
Champ in-the-making
Hi,
and thanks for the reply.  (I'm using activiti 5.9.)
Is there an easy way to extend the layout of the string propertie? My intention is to hava a field like "reason" where i can type some text into and use it later in an email context, but the layout of the string is not large enough (a textbox would be greate 😉 )

regards,
Max

frederikherema1
Star Contributor
Star Contributor
Explorer allows you to plug in custom property types. You should easily use a Vaadin TextArea instead of a text box for this.

Look at org.activiti.explorer.ui.form.UserFormPropertyRenderer and /activiti-webapp-explorer2/src/main/webapp/WEB-INF/activiti-ui-context.xml to see how to hook in custom property type an it' rendered.

moushmi
Champ in-the-making
Champ in-the-making
Hi,

Which version of Activiti are you using?
Since version 5.7 we use form properties and forms are not supported anymore in the Activiti Explorer.
You can read more about form properties in the user guide.

Best regards,


HI,

I am not able to display the forms in activiti explorer.
The process that i followed is:
1)built the project using ant.
2)the .bar file got created.(bar file contains the bpmn20.xml and .form files as well)
3)Uploaded this bar file in activiti but the form is still not displayed.

Have i missed out any step..?
I have checked the path of the form files in bpmn20.xml file to be correct as well.

Please help!!

Regards,
Moushmi

frederikherema1
Star Contributor
Star Contributor
As I said, the ".form" file approach is NOT supported anymore since 5.7 in activiti explorer. Read the user guide about the new approach (form-properties)

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
read the previous posts…. .form files are not supported anymore since Activiti 5.7

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
sorry Frederik, you beat me.

moushmi
Champ in-the-making
Champ in-the-making
As I said, the ".form" file approach is NOT supported anymore since 5.7 in activiti explorer. Read the user guide about the new approach (form-properties)



HI,

Sorry i had just missed it out.Thank you.

Regards,
Moushmi