Forum Discussion
Chris_Wentland
Apr 07, 2017Nimbostratus
I also added a the condition below... This should only set that variable if it does not exist already. This did get overwritten by the resource_info_v2.xml request. But I was able to change my path to /vdesk/resource_list.xml, and the log messages are below... I still never get an HTTP response, but I receive the data somehow.
if { not[info exists resource_list_capture] } {
set resource_list_capture 0
if {$debug} { log local0. "Setting resource_list_capture variable to $resource_list_capture" }
} else {
if {$debug} { log local0. "Resource_list_capture variable already set to $resource_list_capture" }
}
Rule /Common/variable_test.rule : Setting resource_list_capture variable to 0
Rule /Common/variable_test.rule : HTTP Resquest for: /vdesk/resource_list.xml
Rule /Common/variable_test.rule : resource_list.xml request Identified
Rule /Common/variable_test.rule : Flag to capture resource_list.xml is set: 1