<?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: Event subscription api - document and project:groupID filter in Workfront Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/event-subscription-api-document-and-project-groupid-filter/m-p/505125#M36875</link>
    <description>&lt;P&gt;Thanks for the response Rich. I didn't think that there is a group associated with the document itself when querying for DOCU via API so I thought I can't use that. I'll give this a whirl and see whether it could work.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Dec 2021 15:34:00 GMT</pubDate>
    <dc:creator>pco88</dc:creator>
    <dc:date>2021-12-09T15:34:00Z</dc:date>
    <item>
      <title>Event subscription api - document and project:groupID filter</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/event-subscription-api-document-and-project-groupid-filter/m-p/505123#M36873</link>
      <description>&lt;P&gt;I'd like the criteria for the event subscription filter of the objCode = DOCU and I'd only like to receive the payload if the document is created in a project with a specific group. How do you do this?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I've tried something like this but it does not send a payload. Is it even possible with a 2 level filter?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;               {"objCode": "DOCU",&lt;/P&gt;&lt;P&gt;                "eventType": "CREATE",&lt;/P&gt;&lt;P&gt;                "url": "https://eventfilter.yourendpoint.com",&lt;/P&gt;&lt;P&gt;                "authToken": "EauthTokenWorkfrontRocks1234_",&lt;/P&gt;&lt;P&gt;                "filters": [&lt;/P&gt;&lt;P&gt;                {&lt;/P&gt;&lt;P&gt;                "fieldName": "project:groupID",&lt;/P&gt;&lt;P&gt;                "fieldValue": "IDxsfdsfasfsafafvalue"&lt;/P&gt;&lt;P&gt;                }&lt;/P&gt;&lt;P&gt;               }&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:58:21 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/event-subscription-api-document-and-project-groupid-filter/m-p/505123#M36873</guid>
      <dc:creator>pco88</dc:creator>
      <dc:date>2021-12-07T20:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Event subscription api - document and project:groupID filter</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/event-subscription-api-document-and-project-groupid-filter/m-p/505124#M36874</link>
      <description>&lt;P&gt;Hi Polly,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I think you can only filter by the &lt;A href="https://one.workfront.com/s/document-item?bundleId=the-new-workfront-experience&amp;amp;topicId=Content%2FWF_API%2FAPI%2Fevent-sub-resource-fields.html&amp;amp;_LANG=enus" alt="https://one.workfront.com/s/document-item?bundleId=the-new-workfront-experience&amp;amp;topicId=Content%2FWF_API%2FAPI%2Fevent-sub-resource-fields.html&amp;amp;_LANG=enus" target="_blank"&gt;resource fields&lt;/A&gt; available in the event subscription API. So for the Document resource, the 'groups' field would be the only one that could meet your use case. So your query would look like this. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;{"objCode": "DOCU",&lt;/P&gt;&lt;P&gt;                "eventType": "CREATE",&lt;/P&gt;&lt;P&gt;                "url": "&lt;A href="https://eventfilter.yourendpoint.com/" alt="https://eventfilter.yourendpoint.com/" target="_blank"&gt;https://eventfilter.yourendpoint.com&lt;/A&gt;",&lt;/P&gt;&lt;P&gt;                "authToken": "EauthTokenWorkfrontRocks1234_",&lt;/P&gt;&lt;P&gt;                "filters": [&lt;/P&gt;&lt;P&gt;                {&lt;/P&gt;&lt;P&gt;                "fieldName": "groups",&lt;/P&gt;&lt;P&gt;                "fieldValue": "IDxsfdsfasfsafafvalue"&lt;/P&gt;&lt;P&gt;                }&lt;/P&gt;&lt;P&gt;            }&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Whenever a document is added to a project, it is automatically associated with the project's group ID. However having said that, 'groups' is a collection and i'm not sure in what circumstances Workfront would associate a document with more than one group. If / when there is a scenario when there is more than one group, i'm not sure whether this would meet the filter criteria of your event subscription - some testing needed I think!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rich. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 12:58:02 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/event-subscription-api-document-and-project-groupid-filter/m-p/505124#M36874</guid>
      <dc:creator>RichardLe1</dc:creator>
      <dc:date>2021-12-09T12:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Event subscription api - document and project:groupID filter</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/event-subscription-api-document-and-project-groupid-filter/m-p/505125#M36875</link>
      <description>&lt;P&gt;Thanks for the response Rich. I didn't think that there is a group associated with the document itself when querying for DOCU via API so I thought I can't use that. I'll give this a whirl and see whether it could work.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 15:34:00 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/workfront-questions/event-subscription-api-document-and-project-groupid-filter/m-p/505125#M36875</guid>
      <dc:creator>pco88</dc:creator>
      <dc:date>2021-12-09T15:34:00Z</dc:date>
    </item>
  </channel>
</rss>

