<?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: Having issue with workflow extension definition update in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/520149#M48341</link>
    <description>&lt;P&gt;Thank you for the quick response, I tried in postman, get same error message, another things is as I tested if use same&amp;nbsp;&lt;SPAN&gt;defination to create new extension, it would work.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Nov 2021 10:25:46 GMT</pubDate>
    <dc:creator>DrakeZhao</dc:creator>
    <dc:date>2021-11-03T10:25:46Z</dc:date>
    <item>
      <title>Having issue with workflow extension definition update</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/520076#M48336</link>
      <description>&lt;P&gt;The old defination is like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const fieldMetadata = [
  {
    key: 'phoneNumbers',
    label: 'Phone Numbers',
    fieldType: 'TEXTAREA',
    required: true,
    values: [
      {
        allowsMergeTags: true,
        type: 'STATIC_VALUE'
      }
    ]
  },
  {
    key: 'sms',
    label: 'Message',
    fieldType: 'TEXTAREA',
    required: true,
    values: [
      {
        allowsMergeTags: true,
        type: 'STATIC_VALUE'
      }
    ]
  },
  {
    key: 'owner',
    label: 'Owner(Make sure the contact owner already authorized to RingCentral from integration install page)',
    fieldType: 'OWNER',
    required: true,
    values: [
      {
        allowsMergeTags: false,
        type: 'OBJECT_PROPERTY'
      }
    ]
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to add one more key like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const fieldMetadata = [
  {
    key: 'phoneNumbers',
    label: 'Phone Numbers',
    fieldType: 'TEXTAREA',
    required: true,
    values: [
      {
        allowsMergeTags: true,
        type: 'STATIC_VALUE'
      }
    ]
  },
  {
    key: 'sms',
    label: 'Message',
    fieldType: 'TEXTAREA',
    required: true,
    values: [
      {
        allowsMergeTags: true,
        type: 'STATIC_VALUE'
      }
    ]
  },
  {
    key: 'logSMS',
    label: 'Log SMS to contact timeline',
    fieldType: 'SELECT',
    required: true,
    values: [
      {
        type: 'STATIC_VALUE',
        allowsMergeTags: false,
        options: [
          {
            text: 'Yes',
            value: 'true'
          },
          {
            text: 'No',
            value: 'false'
          }
        ]
      }
    ]
  },
  {
    key: 'owner',
    label: 'Owner(Make sure the contact owner already authorized to RingCentral from integration install page)',
    fieldType: 'OWNER',
    required: true,
    values: [
      {
        allowsMergeTags: false,
        type: 'OBJECT_PROPERTY'
      }
    ]
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will get an error says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;status: 'error',
message: 'There was a problem with the request.',
correlationId: 'c07348ff-8230-4ef4-a059-fb9bf288583b'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I only change some labels of old definition, update request would work, hope someone can help with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 07:09:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/520076#M48336</guid>
      <dc:creator>DrakeZhao</dc:creator>
      <dc:date>2021-11-03T07:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Having issue with workflow extension definition update</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/520131#M48339</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/165273"&gt;@DrakeZhao&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;Please use postman for the same and passed the parameters, because when we passed value through postman extension then its updated. Hope this will for you.&amp;quot;}" data-sheets-userformat="{&amp;quot;2&amp;quot;:829,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:0},&amp;quot;5&amp;quot;:{&amp;quot;1&amp;quot;:[{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0,&amp;quot;5&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0}},{&amp;quot;1&amp;quot;:0,&amp;quot;2&amp;quot;:0,&amp;quot;3&amp;quot;:3},{&amp;quot;1&amp;quot;:1,&amp;quot;2&amp;quot;:0,&amp;quot;4&amp;quot;:1}]},&amp;quot;6&amp;quot;:{&amp;quot;1&amp;quot;:[{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0,&amp;quot;5&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0}},{&amp;quot;1&amp;quot;:0,&amp;quot;2&amp;quot;:0,&amp;quot;3&amp;quot;:3},{&amp;quot;1&amp;quot;:1,&amp;quot;2&amp;quot;:0,&amp;quot;4&amp;quot;:1}]},&amp;quot;7&amp;quot;:{&amp;quot;1&amp;quot;:[{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0,&amp;quot;5&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0}},{&amp;quot;1&amp;quot;:0,&amp;quot;2&amp;quot;:0,&amp;quot;3&amp;quot;:3},{&amp;quot;1&amp;quot;:1,&amp;quot;2&amp;quot;:0,&amp;quot;4&amp;quot;:1}]},&amp;quot;8&amp;quot;:{&amp;quot;1&amp;quot;:[{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0,&amp;quot;5&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0}},{&amp;quot;1&amp;quot;:0,&amp;quot;2&amp;quot;:0,&amp;quot;3&amp;quot;:3},{&amp;quot;1&amp;quot;:1,&amp;quot;2&amp;quot;:0,&amp;quot;4&amp;quot;:1}]},&amp;quot;11&amp;quot;:4,&amp;quot;12&amp;quot;:0}"&gt;Please use postman for the same and passed the parameters, because when we passed value through postman extension then its updated. Hope this will for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If we were able to answer your query, kindly help the community by marking it as a solution.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 09:50:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/520131#M48339</guid>
      <dc:creator>webdew</dc:creator>
      <dc:date>2021-11-03T09:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Having issue with workflow extension definition update</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/520149#M48341</link>
      <description>&lt;P&gt;Thank you for the quick response, I tried in postman, get same error message, another things is as I tested if use same&amp;nbsp;&lt;SPAN&gt;defination to create new extension, it would work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 10:25:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/520149#M48341</guid>
      <dc:creator>DrakeZhao</dc:creator>
      <dc:date>2021-11-03T10:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Having issue with workflow extension definition update</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/527650#M48807</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/165273"&gt;@DrakeZhao&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you set the 'required' field to 'false' for the new field you are adding to the definition it will work .&amp;nbsp;&lt;BR /&gt;The system won't allow adding new 'required' fields to existing workflow definitions because this breaks backwards compatibility. We will update the API documentation to reflect this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope this helps, apologies for any inconvience.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 14:36:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/527650#M48807</guid>
      <dc:creator>rhenry</dc:creator>
      <dc:date>2021-11-17T14:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Having issue with workflow extension definition update</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/528161#M48827</link>
      <description>&lt;P&gt;Thank you, this works!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 09:34:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Having-issue-with-workflow-extension-definition-update/m-p/528161#M48827</guid>
      <dc:creator>DrakeZhao</dc:creator>
      <dc:date>2021-11-18T09:34:14Z</dc:date>
    </item>
  </channel>
</rss>

