-
1. Re: Feture Request: Task subjects
dmigowski Nov 20, 2009 8:02 AM (in response to dmigowski)I implemented it now for myself, was much easier than i thought. You wrote great code, I have to say, easy to read and understand (if you already managed to understand the wire stuff before).
If there is interest, I create a patch. -
2. Re: Feture Request: Task subjects
kukeltje Nov 20, 2009 9:31 AM (in response to dmigowski)(almost) every node should get a description in the jPDL. This is kind of the same as a subject. Please look in the jira for this. I think there already is an issue for it.
-
3. Re: Feture Request: Task subjects
dmigowski Nov 20, 2009 9:48 AM (in response to dmigowski)Yes, I found descriptions when I compared the 4.0 and 4.2 XSDs. But the description is not automatically evaluated by the expression engine, which is what I need here.
-
4. Re: Feture Request: Task subjects
sebastian.s Nov 20, 2009 9:49 AM (in response to dmigowski)Where is the difference between your subject-attribute and the task's name and description?
-
5. Re: Feture Request: Task subjects
dmigowski Nov 20, 2009 10:02 AM (in response to dmigowski)Hello Sebastian,
The differences are:
1. The subject is evaluated during Task instantiation.
2. It is stored in the database in the jbpm_task and jbpm_taskhist tables, and can be queried to provide a nice list. -
6. Re: Feture Request: Task subjects
kukeltje Nov 20, 2009 10:05 AM (in response to dmigowski)Parsing attributes runtime (So EL is possible) is also another issue in the jira. Combined they will provide what you need. But patches for these issues are always welcome ;-)
-
7. Re: Feture Request: Task subjects
dmigowski Nov 20, 2009 10:07 AM (in response to dmigowski)Sorry, I don't understand you here... Would my "subject" patch be integrated, or is there another JIRA issue you wanted to draw my attention on?
-
8. Re: Feture Request: Task subjects
sebastian.s Nov 21, 2009 5:01 AM (in response to dmigowski)https://jira.jboss.org/jira/browse/JBPM-1209
I think Ronald wanted to point you to this issue which is about extending the support for expressions. This would mean that you could also use an expression to evaluate task's description. So it could be set at runtime. Please read the issue description and check if the description for tasks is planned to be included. Then comment on the issue if you have further suggestions. -
9. Re: Feture Request: Task subjects
kukeltje Nov 21, 2009 11:13 AM (in response to dmigowski)Sebastian is correct.