<?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: Child job stop the overall process until complete in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681282#M1366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you do go down this path and it seems to be working, then one last thought: the custom step will register automatically on the machine where it's built, but you may want to refer to the help for the ESRIRegAsm utility if you'll need to deploy this to multiple PCs. (See &lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000004n6000000"&gt;here&lt;/A&gt;.)&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just realized that I got my registration mechanisms mixed up: anyone looking to use the "CreateChildJobsAdvanced" step mentioned above would want to use the standard .NET "regasm" command to register its DLL on other machines, not "ESRIRegAsm".&amp;nbsp; Sorry if that misled anyone.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jan 2011 16:44:20 GMT</pubDate>
    <dc:creator>BrianDemers</dc:creator>
    <dc:date>2011-01-13T16:44:20Z</dc:date>
    <item>
      <title>Child job stop the overall process until complete</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681278#M1362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have successfully been able to create a child job in my workflow but I would then like to have that child job assigned to the current user and completed before continuing on.&amp;nbsp; What i am doing is providing more detailed steps and another workflow within the overall workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is that it creates the new child job but I am unable to assign it and embed it into the existing workflow correctly.&amp;nbsp; I think if i wanted to I go into model builder and build all of this but would rather use the WMX because I can see more uses for this workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached a workflow with what I am trying to explain in words.&amp;nbsp; Any ideas would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 18:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681278#M1362</guid>
      <dc:creator>EdwardCopeland</dc:creator>
      <dc:date>2010-11-12T18:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Child job stop the overall process until complete</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681279#M1363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ed,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the closest you can get to what you describe is to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Create the child job&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Assign the child job to the correct user/group&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Add a dependency to the parent job&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;From the "Dependencies" tab in Workflow Manager, you can make the parent job hold at a particular step until the child job has reached a specific step or status.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this approach works for you, then one other suggestion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Regarding the child job assignment&lt;/STRONG&gt;&lt;SPAN&gt;: To assign the child job to the current user as you describe, you should be able to use the "/assignuser" argument to "Create Job", along with a Workflow Manager token.&amp;nbsp; Simply add the following to that step's argument string: &lt;/SPAN&gt;&lt;STRONG&gt;/assignuser:[JOB:ASSIGNED_TO]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 19:59:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681279#M1363</guid>
      <dc:creator>BrianDemers</dc:creator>
      <dc:date>2010-11-16T19:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Child job stop the overall process until complete</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681280#M1364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This did work for me but I am looking to find a way automate the the dependency. In my workflow I have automated the creation of the child job which gets assigned to the current user using the token you provided and would like to somehow pass the job ID and automate the dependency as well so the user can not go to the next step without finishing the child job first. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 15:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681280#M1364</guid>
      <dc:creator>EdwardCopeland</dc:creator>
      <dc:date>2010-11-17T15:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Child job stop the overall process until complete</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681281#M1365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Makes sense.&amp;nbsp; One more idea, though I don't know if this is practical in your case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With 10.0, there are a handful of sample custom steps written in C# and provided with Workflow Manager Desktop under "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&amp;lt;Workflow Manager Install Dir&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;\Developer Kit\Samples\CustomSteps".&amp;nbsp; One of the steps is called "CreateChildJobsAdvanced", and a quick look through the code seems to show that it might support adding dependencies like you describe.&amp;nbsp; All of these samples should build out of the box, so if you have Visual Studio 2008 and some familiarity with it, you may want to try to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Build this custom step&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Create a Workflow Manager step that uses the "CreateChildJobsAdvanced" custom step&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Add the Workflow Manager step to a workflow, and see if it does what you need&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do go down this path and it seems to be working, then one last thought: the custom step will register automatically on the machine where it's built, but you may want to refer to the help for the ESRIRegAsm utility if you'll need to deploy this to multiple PCs. (See &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000004n6000000"&gt;here&lt;/A&gt;&lt;SPAN&gt;.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 19:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681281#M1365</guid>
      <dc:creator>BrianDemers</dc:creator>
      <dc:date>2010-11-18T19:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Child job stop the overall process until complete</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681282#M1366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you do go down this path and it seems to be working, then one last thought: the custom step will register automatically on the machine where it's built, but you may want to refer to the help for the ESRIRegAsm utility if you'll need to deploy this to multiple PCs. (See &lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000004n6000000"&gt;here&lt;/A&gt;.)&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just realized that I got my registration mechanisms mixed up: anyone looking to use the "CreateChildJobsAdvanced" step mentioned above would want to use the standard .NET "regasm" command to register its DLL on other machines, not "ESRIRegAsm".&amp;nbsp; Sorry if that misled anyone.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 16:44:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/child-job-stop-the-overall-process-until-complete/m-p/681282#M1366</guid>
      <dc:creator>BrianDemers</dc:creator>
      <dc:date>2011-01-13T16:44:20Z</dc:date>
    </item>
  </channel>
</rss>

