I'm developing a custom form for a task. I have the JSP file containing the html code and the java code. I need to manipulate task variables with Java. The only useful guide I found is "Custom form for beginners", but it's not very clear about the entire process ( I just understood I need to manipulate the "itemXML" file). Plus, it puts together reading and updating the task variables, becoming confusing. How can I access task variables using Java?
More examples
I cannot directly tell you how to do it. Did you have a look at the order fulfillment custom forms? They are attached here and also available via the YAWL control centre.
Thank you, I already checked
Thank you, I already checked the examples but I was looking for something more detailed
Custom Form Example
See the example attached. It is heavily commented.
Simple example works
Thanks Michael. I have attached a simple spec here that uses this custom form. The custom form is a file called customformexample.jsp and put in this directory:
.../YAWL-4.1/engine/apache-tomcat-7.0.65/webapps/resourceService
This works well here. Does it also work for you?
It works
Thank you for your help gentlemen. Sorry if I don't reply quickly, I'm studying and exploring YAWL for my university thesis and I get really absorbed by different aspects
YAWL thesis
You are very welcome. I am glad it works. I wish you success for your thesis. When it's finished I would be interested what it is about.