<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Access Variables created in Task Action in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781764#M1159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thejus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables&amp;nbsp;defined with Task Designer are only available for use with the&amp;nbsp;task they are defined with.&amp;nbsp; They are used internally by the Tasks module.&amp;nbsp; &amp;nbsp;The variables are not available with the Pro SDK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2019 21:43:17 GMT</pubDate>
    <dc:creator>NarelleChedzey</dc:creator>
    <dc:date>2019-02-11T21:43:17Z</dc:date>
    <item>
      <title>Access Variables created in Task Action</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781763#M1158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro provides ability to create/store values in variables, within a Task Action (using Task Designer).&lt;/P&gt;&lt;P&gt;I would like to know how these variables can be used?&lt;/P&gt;&lt;P&gt;Also, are these variables accessible in a Custom Addin Command or Geoprocessing Tool? if yes, How or what objects expose them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Thejus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 18:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781763#M1158</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2019-02-08T18:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access Variables created in Task Action</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781764#M1159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thejus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables&amp;nbsp;defined with Task Designer are only available for use with the&amp;nbsp;task they are defined with.&amp;nbsp; They are used internally by the Tasks module.&amp;nbsp; &amp;nbsp;The variables are not available with the Pro SDK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 21:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781764#M1159</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2019-02-11T21:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Access Variables created in Task Action</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781765#M1160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Narelle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. I agree with your response but, does that mean the following statement in the help document is false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;A step can load a dialog box prompting the user to enter an attribute. The entered attributes can be saved in variables to be used in subsequent steps. For example, a step would get an attribute from a task user and use it to calculate attribute fields in a subsequent step.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/help/tasks/configstepcommand.htm" title="http://pro.arcgis.com/en/pro-app/help/tasks/configstepcommand.htm"&gt;Configure a step command—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, how do I use these variables, other than to calculate the field value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Thejus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 14:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781765#M1160</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2019-02-12T14:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Access Variables created in Task Action</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781766#M1161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thejus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help is a little misleading - When the Get Attributes action is chosen in designer mode, a dialog box is displayed for the &lt;STRONG&gt;designer&lt;/STRONG&gt; to specify a table, field, variable combination.&amp;nbsp; &amp;nbsp;When the step is executed&amp;nbsp;the fields configured are displayed to the &lt;STRONG&gt;user&lt;/STRONG&gt; in a grid.&amp;nbsp; The values input by the user are assigned to the variables internally by the Tasks module.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only current use for these variables is to be used by the task designer in subsequent steps in a calculate field&amp;nbsp;action.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully&amp;nbsp;this&amp;nbsp;clarifies the role of variables in the Get Attributes and Calculate Field actions.&amp;nbsp; &amp;nbsp;&amp;nbsp;I will make sure the help is&amp;nbsp;updated to explain this more clearly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781766#M1161</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2019-02-12T16:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Access Variables created in Task Action</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781767#M1162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK so how do we use variables in&amp;nbsp;a calculate field action?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781767#M1162</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-22T15:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Access Variables created in Task Action</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781768#M1163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind I think I found it: when you select Calculate field in the Add Task dialog, you set all the Input selections and the field to be updated, then scroll through the list of Fields to calculate into the update field and find the variables you created in prior steps; they'll be called #variablename#&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/access-variables-created-in-task-action/m-p/781768#M1163</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-22T15:30:15Z</dc:date>
    </item>
  </channel>
</rss>

