<?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: Modification of the Create Job Widget in Flex Viewer in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150469#M326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tope, thanks for your code snippet.&amp;nbsp; I'm a developer working with Alison on implementing the WMX Javascript app, and I used your code as a base to perform the Job Update, but I'm feeling that there might be a simpler way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Around line 1770 of WorkflowManager.js, in the createJob success callback, I have to perform a self.wmJobTask.queryJobsAdHoc function to grab the new Job's details before I can make the updateJob call, because otherwise I don't have access to the job's name as you do in your snippet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this seem like the right area to implement your code above, or is there a better location to be making the updateJob call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 15:45:45 GMT</pubDate>
    <dc:creator>AdamDrackley</dc:creator>
    <dc:date>2015-02-13T15:45:45Z</dc:date>
    <item>
      <title>Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150464#M321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not a web developer, instead I am trying to figure out whether something can be done in order for someone else to develop it, so if this question seems rudimentary my apologies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a workflow that is to be used when a Capital Works project is initiated that involves edits to our Road Centreline database. We would like the job creator to use the Flex Viewer to Create this job type as they are not ArcGIS users. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have installed the 10.0 SP3 version of the Workflow Manager Flex Viewer and it seems to be working. The issue is that our naming convention for Jobs includes the Prefix value. For example the user would create a Job of the Type Capital Works. If they were using the Workflow Manager interface they would select the Job Type: Capital Works, toggle Prefix and enter a Unique number that defines the Capital works project. The name of the job then uses the value in the prefix field. For example the user would enter the prefix value ISD-1234 and the job would then be called ISD-1234_CapitalWorks_[JOB:ID].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The out of the box create job widget does not expose the Prefix field. I would like to modify the widget to include the prefix, but from my VERY limited knowledge, I do not see that as a parameter of Create Job operation. Can someone confirm if I am correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alison&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 12:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150464#M321</guid>
      <dc:creator>AlisonGaiser</dc:creator>
      <dc:date>2013-01-29T12:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150465#M322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alison,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ability to add prefix to the job is not directly available via the REST API. The JavaScript and Flex viewers both have this capability, and it is happening as an updated to the job properties after creation has completed. In summary - we create the job, get the new job's ID and update the job name based on the prefix/suffix created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For you to replicate a similar behavior, you will need to modify the code of the widget. The source code can be found here - &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=1b972cde260f4523aa5138003de90fa7"&gt;http://www.arcgis.com/home/item.html?id=1b972cde260f4523aa5138003de90fa7&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tope&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 23:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150465#M322</guid>
      <dc:creator>TopeBello</dc:creator>
      <dc:date>2013-05-09T23:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150466#M323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tope,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are revisiting this interface with our upgrade to WMX 10.2.2. and have chosen to use the new JavaScript viewer. The Prefix and suffix fields are not exposed on the Create New Job widget, so do I need to modify this widget to add the fields, or do this in a two step process? Create the job, then prompt the user for the prefix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150466#M323</guid>
      <dc:creator>AlisonGaiser1</dc:creator>
      <dc:date>2015-02-11T13:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150467#M324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alison, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am happy that you have decided to go with the JavaScript viewer. This capability is not exposed on the UI of the JS viewer, so you will have to customize the create job widget. &lt;/P&gt;&lt;P&gt;Here is a sample that you can use to set that after creating the job - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #318495;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;.wmJobTask.createJob(args, user, &lt;/SPAN&gt;&lt;STRONG style="color: blue;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;(&lt;EM&gt;data&lt;/EM&gt;) {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: blue; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;var &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;jobIds &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #687687; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;data; &lt;/SPAN&gt;&lt;EM style="color: #0066ff; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;// array of jobIDs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; background: white;"&gt; &lt;SPAN style="color: black;"&gt;console.&lt;/SPAN&gt;&lt;STRONG style="color: #3c4c72;"&gt;log&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #036a07;"&gt;"Jobs created successfully: "&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;, jobIds);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM style="color: #0066ff;"&gt;// Update the first job&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; background: white;"&gt; &lt;STRONG style="color: blue;"&gt;var &lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;prefix &lt;/SPAN&gt;&lt;SPAN style="color: #687687;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #036a07;"&gt;"PrefixName"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: blue; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;var &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;suffix &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #687687; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #036a07; background: white;"&gt;"SuffixName"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: blue; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;var &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;newJobName &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #687687; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;prefix &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #687687; background: white;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;jobIds[&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: mediumblue; background: white;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;].name &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #687687; background: white;"&gt;+ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;suffix;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in; text-indent: .5in;"&gt;&lt;STRONG style="color: blue; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;var &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;params &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #687687; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;{jobId:jobIds[&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: mediumblue; background: white;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;].jobId, name:newJobName};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #318495; background: white;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;.wmJobTask.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: silver;"&gt;updateJob&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;(params, user, &lt;/SPAN&gt;&lt;STRONG style="color: blue; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;(&lt;EM&gt;data&lt;/EM&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; console.&lt;/SPAN&gt;&lt;STRONG style="color: #3c4c72; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;log&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #036a07; background: white;"&gt;"Successfully updated job"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; }, &lt;/SPAN&gt;&lt;STRONG style="color: blue; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;(&lt;EM&gt;error&lt;/EM&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; console.&lt;/SPAN&gt;&lt;STRONG style="color: #3c4c72; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;log&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #036a07; background: white;"&gt;"Error updating job"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; }); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, &lt;/SPAN&gt;&lt;STRONG style="color: blue; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;(&lt;EM&gt;error&lt;/EM&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; console.&lt;/SPAN&gt;&lt;STRONG style="color: #3c4c72; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;log&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #036a07; background: white;"&gt;"Error creating jobs"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 23:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150467#M324</guid>
      <dc:creator>TopeBello</dc:creator>
      <dc:date>2015-02-11T23:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150468#M325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI - The code is not well formatted in the email. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 23:38:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150468#M325</guid>
      <dc:creator>TopeBello</dc:creator>
      <dc:date>2015-02-11T23:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150469#M326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tope, thanks for your code snippet.&amp;nbsp; I'm a developer working with Alison on implementing the WMX Javascript app, and I used your code as a base to perform the Job Update, but I'm feeling that there might be a simpler way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Around line 1770 of WorkflowManager.js, in the createJob success callback, I have to perform a self.wmJobTask.queryJobsAdHoc function to grab the new Job's details before I can make the updateJob call, because otherwise I don't have access to the job's name as you do in your snippet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this seem like the right area to implement your code above, or is there a better location to be making the updateJob call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150469#M326</guid>
      <dc:creator>AdamDrackley</dc:creator>
      <dc:date>2015-02-13T15:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150470#M327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WMJobTask has a getJob(jobId, callback, errback) method that you can use instead.&amp;nbsp; More information on WMJobTask can be found at &lt;A href="http://workflowsample.esri.com/doc/javascript/jsapi/WMJobTask.html"&gt;http://workflowsample.esri.com/doc/javascript/jsapi/WMJobTask.html&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sequence of calls for updating the job name would be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WMJobTask.createJob(..) -- this returns the jobID of the newly created job&lt;/LI&gt;&lt;LI&gt;WMJobTask.getJob(jobID,...) -- get the job information&lt;/LI&gt;&lt;LI&gt;WMJobTask.updateJob(...) -- update job properties as needed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lalaine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 18:30:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150470#M327</guid>
      <dc:creator>LLam</dc:creator>
      <dc:date>2015-02-17T18:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modification of the Create Job Widget in Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150471#M328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works great, thanks for the simple solution Lalaine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:17:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/modification-of-the-create-job-widget-in-flex/m-p/150471#M328</guid>
      <dc:creator>AdamDrackley</dc:creator>
      <dc:date>2015-02-17T19:17:10Z</dc:date>
    </item>
  </channel>
</rss>

