cancel
Showing results for 
Search instead for 
Did you mean: 

E28024 Syntax error in simple action/procedure

0 Kudos

hello all,

I am trying to write a object dependency for a characteristics using dependency type Procedure to set default value on the characteristics.

Object Dependency Syntax:

$SET.DEFAULT ($SELF, ZB_DMS_EVALUATOR, 1)

ZB_DMS_EVALUATOR, this is a characteristics name.

But when I do syntax check, I get the message.

E28024 Syntax error in simple action/procedure

This characteristics is assigned to custom class with custom class type and this characteristics is inherited from another class with the same type.

I have tried writing the object dependency at class level as well as at the characteristics level both places i have same error.

Can someone help.

Best Regards,

Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Flavio
Active Contributor
0 Kudos

Hi Kumar,

The dependency code should better be:

$SET_DEFAULT ($SELF, ZB_DMS_EVALUATOR, 1)

The difference being in the $SET_DEFAULT command. that is written with an underscore between the two words, instead of a dot.

Hope this could help.

Thank you and best regards,

Flavio

0 Kudos

It's not working. Now I am getting this error.

E28063 Reference to object $ROOT, $PARENT or $SELF required

E28024 Syntax error in simple action/procedure

Object Dependency:

$SET_DEFAULT ($SELF, ZB_DMS_EVALUATOR, 1)

Flavio
Active Contributor
0 Kudos

Hi Kumar,

That's good, it's a step ahead... Please now check the characteristic format, if it is CHAR, then the default value 1 should be surrounded by quotation marks, i.e.: '1'

Please try and let me know.

Thanks and best regards,

Flavio

0 Kudos

Thanks it worked.

Answers (0)