I have been following tutoriarl on the official doc and publish the app. But the amountOfVacationDays variable is unknown for the decision table. When I complete the first form I got error
Unknown property used in expression: #{amountOfVacationDays < 10}
this is the app that I have done.
I am using version 6.3.0 and bitnami tomcat with java version 8
Thanks for any help
yvo
May 8, 2018, 7:49am
2
Hi.
Could you attach an APP export (.zip not a .bar) to this post?
Then I can have a look.
Regards,
Yvo
Hi, thanks for the response
Here you go.
yvo
May 8, 2018, 7:58am
4
It’s possible to attach a file to a post here on the forum. So we don’t need to go through these shady download sites.
Could you do that please?
Sorry, I don’t find the upload button for zip files.
The upload button only allow image files.
I got this warning when tried to upload
Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif, ico).
yvo
May 8, 2018, 9:18am
6
Hi,
2 things;
You need to set ‘groovy’ as script type on the script task.
And you have a typo in the script. It should be;
execution.setVariable(“amountOfVacationDays”, days.getDays());
(not execute)
Regards,
Yvo
Ah, so I missed that.
Thank you so much.