<?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 ArcGIS Workflow Manager Web Services - CreateJobs not working in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-web-services-createjobs/m-p/272854#M579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create jobs using SOAP web services for ArcGIS Workflow Manager. I want to create jobs with blank values for AOI and POI.&amp;nbsp; I am receiving 400 Bad Request error while trying to perform operation.&lt;/P&gt;&lt;P&gt;Below are the values that i am trying to create job:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SoapPolygon poly = new SoapPolygon();&lt;BR /&gt; SoapMultipoint point = new SoapMultipoint();&lt;/P&gt;&lt;P&gt;JTXServerPortClient client = new JTXServerPortClient();&lt;BR /&gt; JTXJobDescription myJobDescription = new JTXJobDescription();&lt;BR /&gt; myJobDescription.AOI = poly;&lt;BR /&gt; myJobDescription.AssignedTo = "cjones";&lt;BR /&gt; myJobDescription.AssignedType = 1;&lt;BR /&gt; myJobDescription.AutoExecuteOnCreate = true;&lt;BR /&gt; myJobDescription.CanClose = true;&lt;BR /&gt; myJobDescription.CreatedBy = "cjones";&lt;BR /&gt; myJobDescription.CreatedDate = DateTime.Now;&lt;BR /&gt; myJobDescription.DataWorkspaceID = null;&lt;BR /&gt; myJobDescription.Description = "test from c# soap";&lt;BR /&gt; myJobDescription.DueDate = new DateTime(2020, 5, 25);&lt;BR /&gt; myJobDescription.EndDate = new DateTime(2020, 5, 25);&lt;BR /&gt; myJobDescription.JobTypeID = 340;&lt;BR /&gt; myJobDescription.Name = "";&lt;BR /&gt; myJobDescription.OwnedBy = "cjones";&lt;BR /&gt; myJobDescription.ParentJobID = 0;&lt;BR /&gt; myJobDescription.ParentVersion = "SDE.DEFAULT";&lt;BR /&gt; myJobDescription.Priority = 10;&lt;BR /&gt; myJobDescription.PendingDays = 12;&lt;BR /&gt; myJobDescription.POI = point;&lt;BR /&gt; myJobDescription.PercentageComplete = 0;&lt;BR /&gt; myJobDescription.StartDate = DateTime.Now;&lt;BR /&gt; myJobDescription.StartedDate = DateTime.Now;&lt;BR /&gt; myJobDescription.Status = 900;&lt;BR /&gt; myJobDescription.Stage = 3;&lt;BR /&gt; myJobDescription.VersionName = "";&lt;/P&gt;&lt;P&gt;var jobsc = client.CreateJobs(myJobDescription, 1, true, caller);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference :&amp;nbsp;&lt;A class="link-titled" href="https://workflowsample.esri.com/doc/soap/Workflow%20Manager%20Server/WorkflowManagerWebServicesHelp.htm" title="https://workflowsample.esri.com/doc/soap/Workflow%20Manager%20Server/WorkflowManagerWebServicesHelp.htm"&gt;ArcGIS Workflow Manager Web Services Help&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not find any useful information from the server logs. Where can find more sample code? How to figure out the right values?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2020 18:20:52 GMT</pubDate>
    <dc:creator>Sai_Krishna_ChaitanyaSathavall</dc:creator>
    <dc:date>2020-05-18T18:20:52Z</dc:date>
    <item>
      <title>ArcGIS Workflow Manager Web Services - CreateJobs not working</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-web-services-createjobs/m-p/272854#M579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create jobs using SOAP web services for ArcGIS Workflow Manager. I want to create jobs with blank values for AOI and POI.&amp;nbsp; I am receiving 400 Bad Request error while trying to perform operation.&lt;/P&gt;&lt;P&gt;Below are the values that i am trying to create job:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SoapPolygon poly = new SoapPolygon();&lt;BR /&gt; SoapMultipoint point = new SoapMultipoint();&lt;/P&gt;&lt;P&gt;JTXServerPortClient client = new JTXServerPortClient();&lt;BR /&gt; JTXJobDescription myJobDescription = new JTXJobDescription();&lt;BR /&gt; myJobDescription.AOI = poly;&lt;BR /&gt; myJobDescription.AssignedTo = "cjones";&lt;BR /&gt; myJobDescription.AssignedType = 1;&lt;BR /&gt; myJobDescription.AutoExecuteOnCreate = true;&lt;BR /&gt; myJobDescription.CanClose = true;&lt;BR /&gt; myJobDescription.CreatedBy = "cjones";&lt;BR /&gt; myJobDescription.CreatedDate = DateTime.Now;&lt;BR /&gt; myJobDescription.DataWorkspaceID = null;&lt;BR /&gt; myJobDescription.Description = "test from c# soap";&lt;BR /&gt; myJobDescription.DueDate = new DateTime(2020, 5, 25);&lt;BR /&gt; myJobDescription.EndDate = new DateTime(2020, 5, 25);&lt;BR /&gt; myJobDescription.JobTypeID = 340;&lt;BR /&gt; myJobDescription.Name = "";&lt;BR /&gt; myJobDescription.OwnedBy = "cjones";&lt;BR /&gt; myJobDescription.ParentJobID = 0;&lt;BR /&gt; myJobDescription.ParentVersion = "SDE.DEFAULT";&lt;BR /&gt; myJobDescription.Priority = 10;&lt;BR /&gt; myJobDescription.PendingDays = 12;&lt;BR /&gt; myJobDescription.POI = point;&lt;BR /&gt; myJobDescription.PercentageComplete = 0;&lt;BR /&gt; myJobDescription.StartDate = DateTime.Now;&lt;BR /&gt; myJobDescription.StartedDate = DateTime.Now;&lt;BR /&gt; myJobDescription.Status = 900;&lt;BR /&gt; myJobDescription.Stage = 3;&lt;BR /&gt; myJobDescription.VersionName = "";&lt;/P&gt;&lt;P&gt;var jobsc = client.CreateJobs(myJobDescription, 1, true, caller);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference :&amp;nbsp;&lt;A class="link-titled" href="https://workflowsample.esri.com/doc/soap/Workflow%20Manager%20Server/WorkflowManagerWebServicesHelp.htm" title="https://workflowsample.esri.com/doc/soap/Workflow%20Manager%20Server/WorkflowManagerWebServicesHelp.htm"&gt;ArcGIS Workflow Manager Web Services Help&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not find any useful information from the server logs. Where can find more sample code? How to figure out the right values?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 18:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-web-services-createjobs/m-p/272854#M579</guid>
      <dc:creator>Sai_Krishna_ChaitanyaSathavall</dc:creator>
      <dc:date>2020-05-18T18:20:52Z</dc:date>
    </item>
  </channel>
</rss>

