{"id":9120,"date":"2021-03-23T10:01:26","date_gmt":"2021-03-23T17:01:26","guid":{"rendered":"https:\/\/minisoft.com\/support\/?p=9120"},"modified":"2021-03-23T10:01:26","modified_gmt":"2021-03-23T17:01:26","slug":"conditional-logic-on-processor-queue","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/conditional-logic-on-processor-queue\/","title":{"rendered":"Conditional Logic On Processor Queue"},"content":{"rendered":"\n<p>Conditional statements can be put in place at the processor level of the Director queue. In the following sample, unknown ZPL label files for FedEx are processed in such a way that the label is identified and the raw ZPL is passed down to a child project. This child project makes changes and presents the label as need, i.e. Container, Home Depot, Lowes, etc.<\/p>\n\n\n\n<p><strong>Download: <a href=\"\/support\/wp-content\/uploads\/2021\/03\/QueueMonitorVariable.zip\">QueueMonitorVariable<\/a><\/strong><\/p>\n\n\n\n<p>This test harness project opens an XML file and grabs a value from the dataset. It then passes the value up to the Queue Monitor Variable gFormType. From there you can use the Queue Monitor Variable as a condition on the processor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2021\/03\/ConditionalQueue.png\"><img decoding=\"async\" loading=\"lazy\" width=\"842\" height=\"535\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2021\/03\/ConditionalQueue.png\" alt=\"\" class=\"wp-image-9121\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2021\/03\/ConditionalQueue.png 842w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2021\/03\/ConditionalQueue-300x191.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2021\/03\/ConditionalQueue-768x488.png 768w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2021\/03\/ConditionalQueue-150x95.png 150w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Conditional statements can be put in place at the processor level of the Director queue. In the following sample, unknown ZPL label files for FedEx are processed in such a way that the label is identified and the raw ZPL is passed down to a child project. This child project makes changes and presents the [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66,85,1],"tags":[49,109,343],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/9120"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=9120"}],"version-history":[{"count":1,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/9120\/revisions"}],"predecessor-version":[{"id":9123,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/9120\/revisions\/9123"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=9120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=9120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=9120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}