-
1. Re: Using Object in Designer
sadiroveski Feb 20, 2013 9:16 AM (in response to sadiroveski)I found a similar thread, but still no olne has reply to it:
https://community.jboss.org/message/744959#744959
Regards,
-
2. Re: Using Object in Designer
sadiroveski Feb 21, 2013 4:07 PM (in response to sadiroveski)Hello again,
I upload a Jar file contains User Class (Pojo), include a default value to the only variable in the User class which is Firstname = "Mike".
On the process variable, I added a User_info with custom object type and "User" under "Custom_Type".
On the User Task variables, I created in DataInputSet a variable User_in with Custom type object related to User. Also, I mapped the variable in the assginment between process and task for the object.
In the task-Form-Template I added ${User_in.getFirstname}
I go to the console -> run the process -> go to personal task -> select task and click on view and get the below error:
freemarker.template.TemplateException: Expected hash. User_in evaluated instead to freemarker.template.SimpleScalar on line 230, column 4 in ApplyJob.
Regards,