08-06-2013 07:19 AM
I try to do a Perl script to check if a custom field for a device have a value. I try to use the method get_custom_field($field_name) but I don't understand how it's works. I put my script. Can you help me?
08-06-2013 12:27 PM
Can you please add the all.zip so we can see where it's failing?
08-06-2013 12:30 PM
Didn't look though the entire script yet, here is something :
08-07-2013 05:14 AM
I have try to change the log_message. The problem is to take the value in the Custom Field. My custom field is State.
I put the all.zip in my dropbox. You can take it.
Thanks for help me
08-08-2013 03:13 PM
Add this after all your log statements
$easy->device->set_custom_field(custom_state => $StateJob);