<?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 APS REST Call Task &amp; JSON Template in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/aps-rest-call-task-json-template/m-p/40163#M16841</link>
    <description>&lt;P&gt;I haven't posted on here for a while, but I feel like I might get an answer quickest here.&lt;/P&gt;&lt;P&gt;I am using the request mapping JSON template feature within a "REST Call" activity in APS.&amp;nbsp; With this feature, you can write a JSON payload and use interpolation to "inject" variable values.&amp;nbsp; There seems to be the bare minimum of documentation on this feature, so it is a guess as to what features are available.&lt;/P&gt;&lt;P&gt;That minimal documentation makes it clear that you can use '${variable_name}' to inject variable values into the JSON request.&amp;nbsp; However, this appears to only work with non-transient process variables.&amp;nbsp; It does not seem to work with transient variables.&amp;nbsp; And local varaibles are not possible as they have no chance at existing.&amp;nbsp; The REST activity, at least in the UI, doesn't support execution listeners.&lt;/P&gt;&lt;P&gt;It also appears that JUEL or other expressions can't be used in the template either.&amp;nbsp; Strictly process variables only.&amp;nbsp; And probably only a subset of those.&lt;/P&gt;&lt;P&gt;Anyone know if this is true?&amp;nbsp; How can I get transient variables to work there?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2023 17:38:39 GMT</pubDate>
    <dc:creator>bmlong</dc:creator>
    <dc:date>2023-10-23T17:38:39Z</dc:date>
    <item>
      <title>APS REST Call Task &amp; JSON Template</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aps-rest-call-task-json-template/m-p/40163#M16841</link>
      <description>&lt;P&gt;I haven't posted on here for a while, but I feel like I might get an answer quickest here.&lt;/P&gt;&lt;P&gt;I am using the request mapping JSON template feature within a "REST Call" activity in APS.&amp;nbsp; With this feature, you can write a JSON payload and use interpolation to "inject" variable values.&amp;nbsp; There seems to be the bare minimum of documentation on this feature, so it is a guess as to what features are available.&lt;/P&gt;&lt;P&gt;That minimal documentation makes it clear that you can use '${variable_name}' to inject variable values into the JSON request.&amp;nbsp; However, this appears to only work with non-transient process variables.&amp;nbsp; It does not seem to work with transient variables.&amp;nbsp; And local varaibles are not possible as they have no chance at existing.&amp;nbsp; The REST activity, at least in the UI, doesn't support execution listeners.&lt;/P&gt;&lt;P&gt;It also appears that JUEL or other expressions can't be used in the template either.&amp;nbsp; Strictly process variables only.&amp;nbsp; And probably only a subset of those.&lt;/P&gt;&lt;P&gt;Anyone know if this is true?&amp;nbsp; How can I get transient variables to work there?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 17:38:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aps-rest-call-task-json-template/m-p/40163#M16841</guid>
      <dc:creator>bmlong</dc:creator>
      <dc:date>2023-10-23T17:38:39Z</dc:date>
    </item>
  </channel>
</rss>

