Hi Joe,
Thanks for info, it is working. Now I am trying to add more then one attribute in event message. This is my procedure:
0xffff0002 E 50 P “\
CreateEventWithAttribute(\
{C CURRENT_MODEL},\
{H 0xffff0003},\
SetEventAttribute(\
SetEventAttribute(\
GetEventAttributeList(),\
{U 111},\
ReadAttributeInstance (\
{C CURRENT_MODEL},\
{H 0x100c5}
, GetEventAttribute( { U 8 } )\
),\
{U 112},\
ReadAttributeInstance (\
{C CURRENT_MODEL},\
{H 0x11f60}\
, GetEventAttribute( { U 8 } ))\
)\
)\
)”0xfff00003 E 50 A 1,0xfff00003,8
But it's not working. Can you please check where could be the problem? I am not familiar with procedures, and they are poorly documented, so I am a bit of lost here.
This is what I get in error log:
Error: parse failed: syntax error. Parsing failed at position 0, the unparsed remainder is "".
Error: parse failed: Procedure parsing failure
Procedure did not parse successfully (error reason: Procedure parsing failure) for event 0xffff0002 on line 1 of event disposition file ../custom/Events/Custom/EventDisp
0xffff0002 E 50 P “ CreateEventWithAttribute( {C CURRENT_MODEL}, {H 0xffff0003}, SetEventAttribute( SetEventAttribute( GetEventAttributeList(), {U 111}, ReadAttributeInstance ( {C CURRENT_MODEL}, {H 0x100c5}
No valid event code at start of line 2 of event disposition file ../custom/Events/Custom/EventDisp
, GetEventAttribute( { U 8 } ) ), {U 112}, ReadAttribute ( {C CURRENT_MODEL}, {H 0x11f60} , GetEventAttribute( { U 8 } )) ) ) )”0xfff00003 E 50 A 1,0xfff00003,8
Thank you,
Ivana