<?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: AEM 6.4 Workflow models location in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273897#M49859</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;To start workflow, you need to get model from var folder i.e.&lt;/P&gt;&lt;P&gt;WorkflowModel &lt;SPAN style="color: #7e504f;"&gt;wfModel&lt;/SPAN&gt; = &lt;SPAN style="color: #7e504f;"&gt;wfSession&lt;/SPAN&gt;.getModel("/var/workflow/models/request_for_activation");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2018 00:13:25 GMT</pubDate>
    <dc:creator>arunpatidar</dc:creator>
    <dc:date>2018-05-09T00:13:25Z</dc:date>
    <item>
      <title>AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273893#M49855</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 programmatically start workflow instance based on a particular model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample code which would work in AEM 6.2:&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15240042776924692 jive_text_macro" data-renderedposition="113_8_1042_48" jivemacro_uid="_15240042776924692"&gt;&lt;P&gt;WorkflowModel wfModel = wfSession.getModel("/etc/workflow/models/dam/update_asset/jcr:content/model")&lt;/P&gt;&lt;P&gt;//...&lt;/P&gt;&lt;P&gt;wfSession.startWorkflow(wfModel, wfData)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, it seems like workflows were refactored in 6.4, and according to &lt;A href="https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/workflows-best-practices.html#LocationsWorkflowModels" title="https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/workflows-best-practices.html#LocationsWorkflowModels"&gt;Workflow Best Practices&lt;/A&gt; I should find workflow models at /libs/settings/workflow/models/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under this path there is indeed something that looks like model definition (although named 'flow'), but it's not exactly what &lt;STRONG&gt;getModel&lt;/STRONG&gt; method accepts as a valid model path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is simple: what path I should supply in order to instantiate WF model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 22:31:41 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273893#M49855</guid>
      <dc:creator>dzmitryk7401781</dc:creator>
      <dc:date>2018-04-17T22:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273894#M49856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also found here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2Fhelpx.adobe.com%2Fexperience-manager%2F6-4%2Fsites%2Fdeveloping%2Fusing%2Fworkflows-best-practices.html%23LocationsWorkflowModels"&gt;Workflow Best Practices&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 14:04:47 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273894#M49856</guid>
      <dc:creator>marvinf30118885</dc:creator>
      <dc:date>2018-05-08T14:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273895#M49857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting 6.4, all OOTB workflows would be under /etc/workflow/models but any change you do in these OOTB models, would create an overlaid models under /conf folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be helpful down the line once you upgrade to newer version of AEM and there won't be any dependency on adjusting/repackaging your workflow as apart of pre-upgrade process. Custom workflows would be migrated from /conf with ease.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 14:14:00 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273895#M49857</guid>
      <dc:creator>Kunwar</dc:creator>
      <dc:date>2018-05-08T14:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273896#M49858</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;Neither of those locations acceptable for &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;wfSession.getModel&lt;/SPAN&gt; method. So it does not solve problem, even though documentation states those are locations for the models.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 22:29:43 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273896#M49858</guid>
      <dc:creator>dzmitryk7401781</dc:creator>
      <dc:date>2018-05-08T22:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273897#M49859</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;To start workflow, you need to get model from var folder i.e.&lt;/P&gt;&lt;P&gt;WorkflowModel &lt;SPAN style="color: #7e504f;"&gt;wfModel&lt;/SPAN&gt; = &lt;SPAN style="color: #7e504f;"&gt;wfSession&lt;/SPAN&gt;.getModel("/var/workflow/models/request_for_activation");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 00:13:25 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273897#M49859</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2018-05-09T00:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273898#M49860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this is it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder what is the reason to put models there, never would be looking for it under var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 00:39:00 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273898#M49860</guid>
      <dc:creator>dzmitryk7401781</dc:creator>
      <dc:date>2018-05-09T00:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273899#M49861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;AEM 6.4.2&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;I do not see my application custom workflows at &lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%3A4502%2Flibs%2Fcq%2Fworkflow%2Fcontent%2Fconsole.html" rel="nofollow" style="font-style: inherit; font-family: inherit; color: #3a91d7;" target="_blank"&gt;http://localhost:4502/libs/cq/workflow/content/console.html&lt;/A&gt;&amp;nbsp; why ?&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;I have custom workflows code below - /conf/global/settings/workflow/dam/my-dam/ ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;I have changed code references in content.xml files of workflows&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;FROM&amp;nbsp; workflow="/etc/workflow/models/dam/my-dam/dam-assets-custom-writeback/jcr:content/model"/ &amp;gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;TO&amp;nbsp;&amp;nbsp; workflow="/conf/global/settings/workflow/models/dam/my-dam/dam-assets-custom-writeback/jc r:content/model"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;I do not see any node called "model" below "/conf/global/settings/workflow/models/dam/my-dam/dam-assets-custom-writeback/jcr:content "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 18:20:10 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273899#M49861</guid>
      <dc:creator>sreenu539</dc:creator>
      <dc:date>2018-10-30T18:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273900#M49862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;Upgrading to AEM 6.4.2&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;I saw &lt;SPAN style="font-style: inherit;"&gt;javax.jcr.AccessDeniedException: OakAccess0000: Access denied once I deploy client application code on 6.4.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;then I tried following but didn't help much. &lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;Fresh aem 6.4.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;localhost:4502/aem/start -&amp;gt; assets -&amp;gt; files -&amp;gt; file upload&amp;nbsp; ---- worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;install client application code (worked in 6.2 aem) - deployed on aem 6.4.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;file upload --- not working. - image is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;What I did : edit and sync workflows -&amp;gt; generated client application custom workflows&amp;nbsp; in new folder structure /conf/global, var/workflow&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;made code restructuring of etc/workflows into /conf/global, var/workflow&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;changed references in client application custom workflow from /etc/workflow -&amp;gt; libs/settings/workflows, libs/workflow/scripts/, conf/global, var/workflow ../request_for_activation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;I do see instances of upload_asset running in localhost:4502/workflow, I do not see errors ( access denied errors) in error.log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;I do not see image uploaded though. it is blank. - Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 18:21:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273900#M49862</guid>
      <dc:creator>sreenu539</dc:creator>
      <dc:date>2018-10-30T18:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273901#M49863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you running this as admin? If yes then there could be issue with upgrade.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 07:43:30 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273901#M49863</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2018-10-31T07:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273902#M49864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes admin/admin. I have even disabled all custom launcher configs that didn't help. took out all the custom workflows models from conf/global, var/workflow that either didn't help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 06:36:38 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/273902#M49864</guid>
      <dc:creator>sreenu539</dc:creator>
      <dc:date>2018-11-01T06:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: AEM 6.4 Workflow models location</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/365531#M49865</link>
      <description>Created workflow models save at this location /conf/global/settings/workflow/models and OOTB models saved at /libs/settings/workflow/models location in newer AEM version.</description>
      <pubDate>Sun, 07 Jun 2020 09:57:21 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-workflow-models-location/m-p/365531#M49865</guid>
      <dc:creator>HeenaMadan</dc:creator>
      <dc:date>2020-06-07T09:57:21Z</dc:date>
    </item>
  </channel>
</rss>

