﻿{
  "workflow": {
    "wf_name": "Working with Statics VS Variables",
    "wf_folder": "developer_workflow_tutorials",
    "wf_id": "20190306131423",
    "description": "",
    "variable": {
      "wf_size": 279.302087449219
    },
    "nodes": [
      {
        "id": "20190306-131442-688-c5892cd2b7ed",
        "name": "",
        "bypass": false,
        "type": "op_populate",
        "start_proc": true,
        "execute_on": "success",
        "description": "This is used to set a user variable: %some_cool_variable% to the value: \"THIS IS SPARTA!\"\r\n\r\nSubmit a file here to test with success",
        "pos_x": 98,
        "pos_y": 107,
        "outbounds": [
          {
            "type": "other_textfile",
            "id": "20190306-133546-127-4210eeb3ff80"
          }
        ],
        "properties": {
          "variables": [
            {
              "name": "s_some_cool_variable_name",
              "data": "THIS IS SPARTA!"
            }
          ]
        }
      },
      {
        "id": "20190306-133546-127-4210eeb3ff80",
        "preset": {
          "name": "(custom)",
          "id": null
        },
        "name": "",
        "bypass": false,
        "type": "other_textfile",
        "start_proc": false,
        "execute_on": "success",
        "description": "Writes the value of a \"user variable\" to c:\\temp\\variable.txt\r\n\r\nSubmit a file here to see what happens when the variable value is not set ",
        "properties": {
          "text": "%s_some_cool_variable_name%\r\n",
          "encoding": "UTF-8",
          "out_file": "variable.txt",
          "out_folder": "c:\\temp",
          "append": false,
          "set_to_source": false
        },
        "pos_x": 516.953131173828,
        "pos_y": 107
      },
      {
        "id": "20190306-133748-417-509214736e42",
        "preset": {
          "name": "(custom)",
          "id": null
        },
        "name": "",
        "bypass": false,
        "type": "other_textfile",
        "start_proc": true,
        "execute_on": "success",
        "description": "Writes the value of a \"STATIC\" variable to c:\\temp\\static.txt\r\n\r\nSumit a file here - statics always have the same value in all jobs and processors!",
        "pos_x": 98,
        "pos_y": 339.751739541016,
        "properties": {
          "text": "%S_MAIN_NAS_ROOT%\r\n",
          "encoding": "UTF-8",
          "out_file": "static.txt",
          "out_folder": "c:\\temp",
          "append": false,
          "set_to_source": false
        }
      }
    ]
  },
  "user_variables": {
    "variables": [
      {
        "name": "s_some_cool_variable_name",
        "type": "string",
        "data": "Example Variable"
      }
    ],
    "statics": [
      {
        "name": "S_MAIN_NAS_ROOT",
        "type": "string",
        "data": "\\\\10.128.92.196\\public"
      }
    ]
  }
}