<?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: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks! in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607013#M1217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meggie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. We will check this issue later when we get more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR/Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 21:39:16 GMT</pubDate>
    <dc:creator>WendyXie</dc:creator>
    <dc:date>2018-02-28T21:39:16Z</dc:date>
    <item>
      <title>How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607005#M1209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 16:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607005#M1209</guid>
      <dc:creator>WendyXie</dc:creator>
      <dc:date>2018-02-19T16:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607006#M1210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wendy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to configure ExecuteURL step to access a GP service. The URL should look like:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F%5Bserver" rel="nofollow" target="_blank"&gt;https://[server&lt;/A&gt;&lt;SPAN&gt; name].[domain]/arcgis/rest/services/[GP service name]/GPServer/Create%20New%20Jobs/submitJob&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px;"&gt;When you execute the URL, it will open the GP service page in a new browser window. You will need to enter the input parameters and manually run the GP tool. You can also include the parameter values in the url if you want to pre-define them.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;[server name]&lt;/SPAN&gt;&lt;SPAN&gt;.[domain]/arcgis/rest/services/&lt;/SPAN&gt;&lt;SPAN&gt;[GP service name]&lt;/SPAN&gt;&lt;SPAN&gt;/GPServer/Create%20New%20Jobs/submitJob&lt;/SPAN&gt;?para1=value1&amp;amp;para2=value2&amp;amp;para3=value3&amp;amp;f=html&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px;"&gt;However if you would like to better interact with GP tools, the more common way is to configure a step of ExecuteGPTool or LaunchGPTool. Note that the GP tools can be made available on server but a GP service is not currently supported. The GP tool can be copied to the server and only works if the tool belongs to the user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px;"&gt;You can determine which way you would like to go with and I would like to provide more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px;"&gt;Meggie&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 19:30:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607006#M1210</guid>
      <dc:creator>XiaomengZheng</dc:creator>
      <dc:date>2018-02-20T19:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607007#M1211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meggie,&lt;/P&gt;&lt;P&gt;Thanks for the quick reply!&lt;/P&gt;&lt;P&gt;I tested two web services in a step of workflow manager. One is a Buffer service of our own and the other is a web printing service from AGOL.&lt;/P&gt;&lt;P&gt;url:”https://webbgis.esri.se/arcgis/rest/services/FortV/GPBuffer/GPServer/Buffer/Create%20New%20Jobs/submitJob”&lt;/P&gt;&lt;P&gt;url:”https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the step I got the error message as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fix this issue? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607007#M1211</guid>
      <dc:creator>WendyXie</dc:creator>
      <dc:date>2018-02-21T10:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607008#M1212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wendy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested your two urls by configuring the step as "Launch URL" and was able to open the service page in the browser without any error. Please check if the url is valid as well as WMX logs to see if errors got thrown. Also have you configured any other arguments such as Proxy server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExecuteURL step can automatically run GP service if the service is published as "Synchronous" as Execution Mode. A sample URL would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://wmxtestw8x64a.esri.com/arcgis/rest/services/CreateNewJobs_sync/GPServer/Create%20New%20Jobs/execute?f=json" title="https://wmxtestw8x64a.esri.com/arcgis/rest/services/CreateNewJobs_sync/GPServer/Create%20New%20Jobs/execute?f=json"&gt;https://[server]/arcgis/rest/services/CreateNewJobs_sync/GPServer/Create%20New%20Jobs/execute?f=json&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the Execution Type in the service REST endpoint, i.e.&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;STRONG&gt;Execution Type:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;esriExecutionTypeSynchronous&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first URL in the two samples that you provided is an "Asynchronous" service. It requires you to submit a job to kick off the run of the GP service. Thus you can not use ExecuteURL to kick off the run automatically. Like I mentioned in the last message, execute the URL will only open the service page and you need to manually submit the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second URL seems to be "Synchronous". When you configure the URL, you can include the pre-defined parameter values in the url, especially the required parameters. It would be helpful to test the url in a browser to make sure the GP service running successfully. ExecuteURL step will run the GP silently and you will not see any output message directly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I noticed that the two services you use are both secured service. Whoever executes the URL step will need to have the access to your GP service. Or you will need to add token in the end of the url&amp;nbsp;but this is not very common&amp;nbsp;and recommended.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Meggie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 22:27:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607008#M1212</guid>
      <dc:creator>XiaomengZheng</dc:creator>
      <dc:date>2018-02-21T22:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607009#M1213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meggie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can open the Buffer tool in a Web App. The interface looks like as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I add the url to the job step as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The arguments is :   /url:https://webbgis.esri.se/arcgis/rest/services/FortV/GPBuffer/GPServer/Buffer/Create%20New%20Jobs/submitJob&lt;/P&gt;&lt;P&gt;Then  I got the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything I have missed in the arguments? Do I suppose to have the same interface window open as I do in the WAB when I run this step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 15:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607009#M1213</guid>
      <dc:creator>WendyXie</dc:creator>
      <dc:date>2018-02-22T15:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607010#M1214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wendy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your configuration looks ok and I tried myself and do not see the error. I also noticed that the service is set to public now so we should be able to run it without prompt of credentials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way to test it is to change your step type from ExecuteURL to Launch URL as following. See if the step can open a browser window.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/397286_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason we use ExecuteURL step type is to avoid opening the browser to show the response. So I wouldn't expect to see the window as you saw in WAB. But it should run in the background without error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check your WMX logs. It should be located at&amp;nbsp;C:\ProgramData\ESRI\WMX\[product version]\Logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Meggie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 23:47:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607010#M1214</guid>
      <dc:creator>XiaomengZheng</dc:creator>
      <dc:date>2018-02-22T23:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607011#M1215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meggie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect to run the GPtool service and open the interface window, then populate the parameter such as buffer distance, input feature, output feature/ directory etc. is it possible to do this in WM?&lt;/P&gt;&lt;P&gt;As you said that the GPtool service could be pre-configurated with all the needed parameters. Does this mean all the parameters are fixed and cannot be changed in the step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the step LaunchURL I only get an opened window as below: not the tool interface window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, the error message was disappeared after I installed “ArcGIS_Desktop_BackgroundGP_106_161696.exe” which was deleted a week ago, it was then caused some other issue in WM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607011#M1215</guid>
      <dc:creator>WendyXie</dc:creator>
      <dc:date>2018-02-23T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607012#M1216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you include pre-defined parameter values in your URL, the GP tool will be running with it. Parameters can be also entered when executing the step. You will need to use the step LaunchURL instead of ExecuteURL. LaunchURL will open the url in the browser and allow you to enter the inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that you are using 10.6 and that is the version I have tested too. I cannot reproduce the error you saw by using the URL you provided. &lt;SPAN&gt;I did not run&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;“ArcGIS_Desktop_BackgroundGP_106_161696.exe” individually in my environment though.&amp;nbsp;&lt;/SPAN&gt;So it could be&amp;nbsp;relevant.&amp;nbsp;If you provide me more info such as how you set up your machine, I can try to reproduce this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Meggie&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 00:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607012#M1216</guid>
      <dc:creator>XiaomengZheng</dc:creator>
      <dc:date>2018-02-24T00:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to configurate a step to run JTXSteps.ExecuteURL, such as a web GPtool? Any examples or detailed documentation for reference? Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607013#M1217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meggie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. We will check this issue later when we get more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR/Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 21:39:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-configurate-a-step-to-run-jtxsteps/m-p/607013#M1217</guid>
      <dc:creator>WendyXie</dc:creator>
      <dc:date>2018-02-28T21:39:16Z</dc:date>
    </item>
  </channel>
</rss>

