<?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: How to pass and display variables in Sub-process in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/update-sub-process-variables-dynamically/m-p/28013#M11995</link>
    <description>&lt;P&gt;Try to get the RootProcessInstance and then you should get or set parameters from there:&lt;/P&gt;
&lt;PRE&gt;ExecutionEntity yourCurrentExecutionEntity = (ExecutionEntity) execution;
ExecutionEntity processInstance = (ExecutionEntityImpl) Context.getCommandContext().getExecutionEntityManager().findById(yourCurrentExecutionEntity.getRootProcessInstanceId());&lt;/PRE&gt;</description>
    <pubDate>Wed, 13 Oct 2021 14:34:04 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2021-10-13T14:34:04Z</dc:date>
    <item>
      <title>Update sub-process variables dynamically</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/update-sub-process-variables-dynamically/m-p/28012#M11994</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;**Using script task event and setting the variables manually worked.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Oct 2021 16:02:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/update-sub-process-variables-dynamically/m-p/28012#M11994</guid>
      <dc:creator>axferreira</dc:creator>
      <dc:date>2021-10-12T16:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass and display variables in Sub-process</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/update-sub-process-variables-dynamically/m-p/28013#M11995</link>
      <description>&lt;P&gt;Try to get the RootProcessInstance and then you should get or set parameters from there:&lt;/P&gt;
&lt;PRE&gt;ExecutionEntity yourCurrentExecutionEntity = (ExecutionEntity) execution;
ExecutionEntity processInstance = (ExecutionEntityImpl) Context.getCommandContext().getExecutionEntityManager().findById(yourCurrentExecutionEntity.getRootProcessInstanceId());&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Oct 2021 14:34:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/update-sub-process-variables-dynamically/m-p/28013#M11995</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2021-10-13T14:34:04Z</dc:date>
    </item>
  </channel>
</rss>

