<?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 Geoprocessing Task with No Parameters? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-with-no-parameters/m-p/157428#M14706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to run a geoprocessing service (gp task) in a web app without passing any parameters? If so how would I change the submitjob function to have no parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;gp.submitJob(params, completeCallback , statusCallback,function(error){ //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(error);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 14:41:54 GMT</pubDate>
    <dc:creator>ionarawilson1</dc:creator>
    <dc:date>2013-10-03T14:41:54Z</dc:date>
    <item>
      <title>Geoprocessing Task with No Parameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-with-no-parameters/m-p/157428#M14706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to run a geoprocessing service (gp task) in a web app without passing any parameters? If so how would I change the submitjob function to have no parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;gp.submitJob(params, completeCallback , statusCallback,function(error){ //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(error);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-with-no-parameters/m-p/157428#M14706</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2013-10-03T14:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Task with No Parameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-with-no-parameters/m-p/157429#M14707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm going to assume we're talking about the Javascript API. As per the API documentation, inputParameters are required for the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/javascript/jsapi/geoprocessor-amd.html#submitjob" rel="nofollow" target="_blank"&gt;submitJob method&lt;/A&gt;&lt;SPAN&gt;. If you don't want to pass anything you could just have&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var inputParams = ""; gp.submitJob(inputParams.....&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...provided that the corresponding GP service doesn't actually require any input parameters. In this case I suppose you'd have things like the input data parameter hardcoded into the underlying Python script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:53:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-with-no-parameters/m-p/157429#M14707</guid>
      <dc:creator>RyanClancy</dc:creator>
      <dc:date>2013-10-03T14:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Task with No Parameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-with-no-parameters/m-p/157430#M14708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Ryan. I will try that. Yes, I have it coded in Python. I will also try submitting with one parameter. Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:57:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-task-with-no-parameters/m-p/157430#M14708</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2013-10-03T14:57:48Z</dc:date>
    </item>
  </channel>
</rss>

