cancel
Showing results for 
Search instead for 
Did you mean: 

a value is not displayed

tomi87
Champ in-the-making
Champ in-the-making
I have the problem that, the Activiti explorer doesn't display the value of a variable:

This is my xml code for the variable:

<userTask id="sendInformationsFromTheProfessors" name="send informations from the professors" activiti:candidateGroups="DoEE O">
   <extensionElements>
      <activiti:formProperty id="studentName" name="Student name"
         expression="${studentAppInfo.studentName}" writable="false" />
      <activiti:formProperty id="emailAddress" name="Email address"
         expression="${studentAppInfo.emailAddress}" writable="false" />
      <activiti:formProperty id="homeUniversity" name="Home university"
         expression="${studentAppInfo.homeUniversity}" writable="false" />
      <activiti:formProperty id="homeDepartment" name="Home department"
         expression="${studentAppInfo.homeDepartment}" writable="false" />
      <activiti:formProperty id="targetUniversity" name="Target university"
                        expression="${studentAppInfo.targetUniversity}" writable="false" />
      <activiti:formProperty id="targetDepartment" name="Target department"
                         expression="${studentAppInfo.targetDepartment}" writable="false" />

      <activiti:formProperty id="advisorList"
         name="Advisor names with email" required="true" />
   </extensionElements>
</userTask>

And the Problem:
https://www.dropbox.com/s/w6hd3yzi6bfn7nu/no%20value%20shows.JPG
The value is still in this variable in this step:
https://www.dropbox.com/s/k78gg9ys6opf4g1/values%20are%20stored.JPG

I don't change or do anything else with this value.
I don't get an error message.

No userTasks can display the value of this variable.
Do anyone has an idea ?
6 REPLIES 6

jbarrez
Star Contributor
Star Contributor
Which variable you mean? It's hard for me to see what is going wrong (very little German knowledge). Can you elaborate?

tomi87
Champ in-the-making
Champ in-the-making
The variable "home department" Which is displayed in the first picture with no value.

frederikherema1
Star Contributor
Star Contributor
And the others do show up? I see you're properties don't have a type-attribute set, maybe this can help?

tomi87
Champ in-the-making
Champ in-the-making
you can see in the picture that all other values are displayed. what do you mean with "type-attribute set" ?
I set all variable with the values in the startEvent (user has to enter the values) and there they all have a type-attribute.

frederikherema1
Star Contributor
Star Contributor

<activiti:formProperty id="targetUniversity" name="Target university"
                        expression="${studentAppInfo.targetUniversity}" writable="false" />

This does NOT have a type-attribute set. (XML attribute with the name "type" -> type-attribute)

tomi87
Champ in-the-making
Champ in-the-making
I fixed it.
At the execution process I wrote instead of department, departement.
Thank you!