<?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: filtering event subscription api in Workfront Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/filtering-event-subscription-api/m-p/514204#M45954</link>
    <description>&lt;P&gt;I'm writing this comment down in case others are looking into the same issue as I have. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I tried to do a workaround by setting it up as 2 subscriptions, one with the oldState and another with a newState but going to separate urls. And theoretically, it works if your user is just ticking and unticking that one checkbox. However, if there are more than 1 checkbox that gets ticked/unticked, then it doesn't trigger the newState and oldState. The event subscription api operator only has eq, ne, gt and lt; it does not have contains, notcontains. Event subscription api is missing quite a few things - I hope they do update documentation and update the event subscription api so that we don't have to accept a slew of data just because we can't trigger on specifics.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 15:34:52 GMT</pubDate>
    <dc:creator>pco88</dc:creator>
    <dc:date>2022-01-07T15:34:52Z</dc:date>
    <item>
      <title>filtering event subscription api</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/filtering-event-subscription-api/m-p/514203#M45953</link>
      <description>&lt;P&gt;Hello. I have another event subscription api question. I have a checkbox custom field that I want to keep an eye out for. I want to act on this field when it's changed on the project whether it gets ticked or unticked.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I thought that I should filter it by newState and oldState but I can't create the subscription. If I just create by newstate, it doesn't trigger when someone unticks the checkbox. I have also tried to create two subscriptions, one with the oldState and one with the newState and it's giving me an error when setting the second subscription. Any directions on this one? &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; "objCode": "PROJ",&lt;/P&gt;&lt;P&gt; "eventType": "UPDATE",&lt;/P&gt;&lt;P&gt; "url": "xxxx",&lt;/P&gt;&lt;P&gt; "filters": [&lt;/P&gt;&lt;P&gt;  {&lt;/P&gt;&lt;P&gt;   "state": "newState",&lt;/P&gt;&lt;P&gt;   "fieldName": "parameterValues",&lt;/P&gt;&lt;P&gt;   "fieldValue": {&lt;/P&gt;&lt;P&gt;    "DE:customfield": "1"&lt;/P&gt;&lt;P&gt;   }&lt;/P&gt;&lt;P&gt;  },&lt;/P&gt;&lt;P&gt;  {&lt;/P&gt;&lt;P&gt;   "state": "oldState",&lt;/P&gt;&lt;P&gt;   "fieldName": "parameterValues",&lt;/P&gt;&lt;P&gt;   "fieldValue": {&lt;/P&gt;&lt;P&gt;    "DE:customfield": "1"&lt;/P&gt;&lt;P&gt;   }&lt;/P&gt;&lt;P&gt;  }&lt;/P&gt;&lt;P&gt; ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 20:06:47 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/filtering-event-subscription-api/m-p/514203#M45953</guid>
      <dc:creator>pco88</dc:creator>
      <dc:date>2022-01-06T20:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: filtering event subscription api</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/filtering-event-subscription-api/m-p/514204#M45954</link>
      <description>&lt;P&gt;I'm writing this comment down in case others are looking into the same issue as I have. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I tried to do a workaround by setting it up as 2 subscriptions, one with the oldState and another with a newState but going to separate urls. And theoretically, it works if your user is just ticking and unticking that one checkbox. However, if there are more than 1 checkbox that gets ticked/unticked, then it doesn't trigger the newState and oldState. The event subscription api operator only has eq, ne, gt and lt; it does not have contains, notcontains. Event subscription api is missing quite a few things - I hope they do update documentation and update the event subscription api so that we don't have to accept a slew of data just because we can't trigger on specifics.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 15:34:52 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/filtering-event-subscription-api/m-p/514204#M45954</guid>
      <dc:creator>pco88</dc:creator>
      <dc:date>2022-01-07T15:34:52Z</dc:date>
    </item>
  </channel>
</rss>

