{"id":1182,"date":"2014-10-01T18:13:44","date_gmt":"2014-10-01T18:13:44","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=1182"},"modified":"2017-11-14T19:54:03","modified_gmt":"2017-11-14T19:54:03","slug":"what-is-a-state","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/what-is-a-state\/","title":{"rendered":"What is a State?"},"content":{"rendered":"<h3>State Engine<\/h3>\n<p>States read source data line-by-line and can be indefinitely nested. Each Line is checked\u00a0by the State Engine.<\/p>\n<p>For the Current State, each Nested State is checked to see if it\u2019s \u201cLine\u201d value can be\u00a0matched. If a matching \u201cLine\u201d is found, that State becomes the Current State. If no\u00a0Nested State matches, each EndState is checked in the same way. If one matches, then\u00a0the Current State is exited. The default destination is the State in which the Current\u00a0State is nested. A specific Ancestor State can be referenced, in which case it becomes\u00a0the Current State. If the referenced EndState definition is not found, the Root State will\u00a0then become the Current State.<\/p>\n<p>Upon entering a State, if the Line it is based upon has Parameters, the defined\u00a0Parameters are extracted from the source into the x result.<\/p>\n<p>If a State has no Nested States or EndStates, the State exits after extracting data to the\u00a0parent State. This is the same action as if a single EndState were used with no Line to\u00a0match or destination defined.<\/p>\n<p>When all the Lines of the source are exhausted, this preprocessor returns XML formatted\u00a0data to the Form Template for processing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>State Engine States read source data line-by-line and can be indefinitely nested. Each Line is checked\u00a0by the State Engine. For the Current State, each Nested State is checked to see if it\u2019s \u201cLine\u201d value can be\u00a0matched. If a matching \u201cLine\u201d is found, that State becomes the Current State. If no\u00a0Nested State matches, each EndState is [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,58],"tags":[6],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/1182"}],"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=1182"}],"version-history":[{"count":4,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/1182\/revisions"}],"predecessor-version":[{"id":5486,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/1182\/revisions\/5486"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=1182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=1182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=1182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}