<?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: Workflow actions based on a custom code execution (success / error)? in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/806579#M1575</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/114563"&gt;@Smuli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to refer you to this &lt;A href="https://community.hubspot.com/t5/CMS-Development/Workflow-Custom-Code-Event-Status/td-p/760174" target="_blank" rel="noopener"&gt;related post&lt;/A&gt; in our Developer's Forum where&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20261"&gt;@louischausse&lt;/a&gt;&amp;nbsp;explains how you can&amp;nbsp;achieve this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 12:47:18 GMT</pubDate>
    <dc:creator>kvlschaefer</dc:creator>
    <dc:date>2023-06-13T12:47:18Z</dc:date>
    <item>
      <title>Workflow actions based on a custom code execution (success / error)?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/805899#M1571</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way to build if/then (success/error) logic on a workflow following a custom code execution and its result?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd like to send notifications (or trigger other actions) based on if the code was successfully executed or not, but could not figure out a way to do that myself.&amp;nbsp; However it sounds like such a must-have feature, I'm sure someone has solved this already?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Näyttökuva 2023-6-12 kello 12.10.49.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/92688iD848C6F5CD39EDBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Näyttökuva 2023-6-12 kello 12.10.49.png" alt="Näyttökuva 2023-6-12 kello 12.10.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 09:13:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/805899#M1571</guid>
      <dc:creator>Smuli</dc:creator>
      <dc:date>2023-06-12T09:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow actions based on a custom code execution (success / error)?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/806579#M1575</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/114563"&gt;@Smuli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to refer you to this &lt;A href="https://community.hubspot.com/t5/CMS-Development/Workflow-Custom-Code-Event-Status/td-p/760174" target="_blank" rel="noopener"&gt;related post&lt;/A&gt; in our Developer's Forum where&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20261"&gt;@louischausse&lt;/a&gt;&amp;nbsp;explains how you can&amp;nbsp;achieve this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 12:47:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/806579#M1575</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2023-06-13T12:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow actions based on a custom code execution (success / error)?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/806623#M1576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/114563"&gt;@Smuli&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The related post suggested by&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/106905"&gt;@kvlschaefer&lt;/a&gt;&amp;nbsp;is relevant if you want to create custom success/error output&amp;nbsp;messages, but you can also use standard success/error output from custom coded actions.&lt;BR /&gt;&lt;BR /&gt;Either way, you can't used them in a "If/Then branch" action. You need to use "&lt;A href="https://knowledge.hubspot.com/workflows/choose-your-workflow-actions#:~:text=Value%20equals%20branch,a%20single%20property." target="_blank" rel="noopener"&gt;Value equals branch&lt;/A&gt;" instead.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="louischausse_0-1686664145656.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/92791i7A3B4B1C2CBA37EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="louischausse_0-1686664145656.png" alt="louischausse_0-1686664145656.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Don't forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 13:49:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/806623#M1576</guid>
      <dc:creator>louischausse</dc:creator>
      <dc:date>2023-06-13T13:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow actions based on a custom code execution (success / error)?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/806633#M1577</link>
      <description>&lt;P&gt;Thank you, this was exactly what I was looking for!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 13:59:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Workflow-actions-based-on-a-custom-code-execution-success-error/m-p/806633#M1577</guid>
      <dc:creator>Smuli</dc:creator>
      <dc:date>2023-06-13T13:59:31Z</dc:date>
    </item>
  </channel>
</rss>

