<?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 Custom Step ReturnValue will not return JOB:PARENT_JOB_NAME in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/custom-step-returnvalue-will-not-return-job-parent/m-p/23358#M50</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a custom step called otReturnParentJobName. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It uses JTXSteps.ReturnValue and has only one argument&lt;/P&gt;&lt;P&gt;/value:[JOB:PARENT_JOB_NAME]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run this step in a job that is a child of another job I get the message "Invalid parameter"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the database table JTX_JOBS and know that this is a child and can find the name of the parent job in the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change the step to&lt;/P&gt;&lt;P&gt;/value:[JOB:PARENT_JOB]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works successfully. Why can it get one value and not the other?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running 10.2.2 on Oracle. &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, 29 Apr 2015 15:11:38 GMT</pubDate>
    <dc:creator>AlisonGaiser1</dc:creator>
    <dc:date>2015-04-29T15:11:38Z</dc:date>
    <item>
      <title>Custom Step ReturnValue will not return JOB:PARENT_JOB_NAME</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/custom-step-returnvalue-will-not-return-job-parent/m-p/23358#M50</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a custom step called otReturnParentJobName. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It uses JTXSteps.ReturnValue and has only one argument&lt;/P&gt;&lt;P&gt;/value:[JOB:PARENT_JOB_NAME]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run this step in a job that is a child of another job I get the message "Invalid parameter"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the database table JTX_JOBS and know that this is a child and can find the name of the parent job in the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change the step to&lt;/P&gt;&lt;P&gt;/value:[JOB:PARENT_JOB]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works successfully. Why can it get one value and not the other?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running 10.2.2 on Oracle. &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, 29 Apr 2015 15:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/custom-step-returnvalue-will-not-return-job-parent/m-p/23358#M50</guid>
      <dc:creator>AlisonGaiser1</dc:creator>
      <dc:date>2015-04-29T15:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Step ReturnValue will not return JOB:PARENT_JOB_NAME</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/custom-step-returnvalue-will-not-return-job-parent/m-p/23359#M51</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;Workflow Manager expects all step return values to be integers, so the ReturnValue step expect all its parameters to be integers in turn. As such, the job name cannot be used as a return value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 16:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/custom-step-returnvalue-will-not-return-job-parent/m-p/23359#M51</guid>
      <dc:creator>KevinBedel</dc:creator>
      <dc:date>2015-04-30T16:14:51Z</dc:date>
    </item>
  </channel>
</rss>

