variable defining

cancel
Showing results for 
Search instead for 
Did you mean: 
roxanne-4731
Active Member

variable defining

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
mdtabrezmca
Established Member II

Re: variable defining

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

roxanne-4731
Active Member

Re: variable defining

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

mdtabrezmca
Established Member II

Re: variable defining

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

roxanne-4731
Active Member

Re: variable defining

Yes , i did twice 

But still ... 

mdtabrezmca
Established Member II

Re: variable defining

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 

paul_roth
Established Member

Re: variable defining

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