Sadiroveski S [
https://community.jboss.org/people/sadiroveski] created the discussion
"Re: Using Object in Designer"
To view the discussion, visit:
https://community.jboss.org/message/798963#798963
--------------------------------------------------------------
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,+*+
+*
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/798963#798963]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]