cancel
Showing results for 
Search instead for 
Did you mean: 

variable defining

roxanne-4731
Champ on-the-rise
Champ on-the-rise

Hi 

How can define some variable in process services to call and use.

I define a process and use a script task that has two variable 

But make an error , it say Script tasks are not allowed, please remove them from your process definition

I am now using the free trial of process service 

Maybe That's the reason for this error

Do you Know the why is it like that ??

Thanks ,

Roxanne

6 REPLIES 6

mdtabrezmca
Star Contributor
Star Contributor

Hi roxanne,

  If you are using script task then make sure

1.you should set this property to be false in activiti-app.properties

    validator.editor.bpmn.disable.scripttask=false

2.you should also set remove '#' from the following properties files whitelisted-scripts.conf

javascript
js
#ecmascript
groovy
#juel

I hope this is what you were looking......

Hi tabrez khan,

I did what you told me but it still didn't work 

 I get this error 

Is it possible that because i use the free trial of process service i get error like this or not ??

Thanks,

Roxanne

did you restart your container after you made the changes......

Yes , i did twice 

But still ... 

Refer to the following threads

I think you need to to make Following also false

validator.editor.bpmn.disable.scripttask.groovy=false

Script task in Alfresco process services is not allowed 

Groovy script execution error · Issue #1 · Alfresco/adf-examples · GitHub 

There are no limitations in the trial for Alfresco Process Services (powered by Activiti).