Set variable on script task does not work

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

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.

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).

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.