Default value in StartEvent/TaskUser Form properties
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2016 12:11 PM
Hi,
I'm using Activiti 5.19 and I'm trying to set default value on a StartEvent/TaskUser form.
Using Eclipse Designer Plugin I could do it and the code is this the following:
But, when I tryed to do it using activiti Web Modeler, I couldn't find any field to set default properties.
Have you in mind to improve this feature in the next release of Activiti?
If not, could you explain to me the right way to add the the default value on angularjs interfaces and on Java classes to perform the correct transformation in the XML BMPN?
Thank you.
Regards
Sandro
I'm using Activiti 5.19 and I'm trying to set default value on a StartEvent/TaskUser form.
Using Eclipse Designer Plugin I could do it and the code is this the following:
<startEvent id="avvio_nuova_richiesta" name="Richiesta" activiti:initiator="initiator" activiti:formKey="Form avvio nuova richiesta"> <extensionElements> <activiti:formProperty id="titolo_richiesta" name="Titolo" type="string" variable="titolo_richiesta" [b]default="titolo"[/b] required="true"></activiti:formProperty> </extensionElements> </startEvent>
But, when I tryed to do it using activiti Web Modeler, I couldn't find any field to set default properties.
Have you in mind to improve this feature in the next release of Activiti?
If not, could you explain to me the right way to add the the default value on angularjs interfaces and on Java classes to perform the correct transformation in the XML BMPN?
Thank you.
Regards
Sandro
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2016 03:53 PM
I'm not 100% sure, but I believe this has been fixed in the v6 UI (but dont think it's backported).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2016 04:39 AM
Hi Joram,
thank you for your reply.
I've just installed Activiti 6 to check it. But I haven't identified the default field.
I send you two attachment.
This is the "Visual Editor" form compiler…
https://drive.google.com/open?id=0Byh9fYG1HbAUVEZlUzV5b3lUblk
and this is the textfield editor popup in the new "Form Editor" page.
https://drive.google.com/file/d/0Byh9fYG1HbAUaE91cFlDdTJocHM/view?usp=sharing
Am I searching it in a wrong form edit popup?
Thank you for your help.
Regards.
Sandro
thank you for your reply.
I've just installed Activiti 6 to check it. But I haven't identified the default field.
I send you two attachment.
This is the "Visual Editor" form compiler…
https://drive.google.com/open?id=0Byh9fYG1HbAUVEZlUzV5b3lUblk
and this is the textfield editor popup in the new "Form Editor" page.
https://drive.google.com/file/d/0Byh9fYG1HbAUaE91cFlDdTJocHM/view?usp=sharing
Am I searching it in a wrong form edit popup?
Thank you for your help.
Regards.
Sandro
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2016 09:53 AM
Hmm no indeed, thanks for validating that.
I think we still need to port that fix to the UI (cause I've seen it in the past)
I think we still need to port that fix to the UI (cause I've seen it in the past)
