Current object not working in list actions declarative action

Gaurav99
Tera Contributor

I want to add conditions like current.state ==1 then only it should show the list action. But In declarative action condition script it is not working. Also this declarative action should move all the selected changes to cancel state.

1 REPLY 1

Nilesh Pol
Tera Guru

Hi @Gaurav99 

Use below fundtion:

(function() {

 return current.state == 1;

 })();