<?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 Getting parsing error on Alteryx server in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048190#M12281</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently deployed one workflow to server and it's failing with parsing error. The workflow runs without error on my desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the logic and error message on server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if datetimeformat(DATEADD(DateTimeToday(),-4,"Days"),"%Y-%m-%d") == [HOLIDAY] then DateTimeFormat(DATEADD(DateTimeToday(),-3,"Days"),"%Y-%m-%d") else DateTimeFormat(DATEADD(DateTimeToday(),-2,"Days"),"%Y-%m-%d") endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if DateTimeFormat([hldy_adj],"%u") IN ("1","2","6","7") then DATEADD([hldy_adj],-3,"Days") else DATEADD([hldy_adj],-1,"Days") endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATEADD([tera_date_b],-1,"Days")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error&lt;BR /&gt;278 Parse Error at char(18): Unknown function "DATEADD" (Expression #1)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(19): Unknown variable "hldy_adj" (Expression #2)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(62): Unknown function "DATEADD" (Expression #3)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(62): Unknown function "DATEADD" (Expression #4)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(18): Unknown function "DATEADD" (Expression #5)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(62): Unknown function "DATEADD" (Expression #6)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(54): Unknown function "DATEADD" (Expression #7)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(0): Unknown function "DATEADD" (Expression #8)&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 16:27:22 GMT</pubDate>
    <dc:creator>hemal91</dc:creator>
    <dc:date>2022-12-12T16:27:22Z</dc:date>
    <item>
      <title>Getting parsing error on Alteryx server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048190#M12281</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently deployed one workflow to server and it's failing with parsing error. The workflow runs without error on my desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the logic and error message on server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if datetimeformat(DATEADD(DateTimeToday(),-4,"Days"),"%Y-%m-%d") == [HOLIDAY] then DateTimeFormat(DATEADD(DateTimeToday(),-3,"Days"),"%Y-%m-%d") else DateTimeFormat(DATEADD(DateTimeToday(),-2,"Days"),"%Y-%m-%d") endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if DateTimeFormat([hldy_adj],"%u") IN ("1","2","6","7") then DATEADD([hldy_adj],-3,"Days") else DATEADD([hldy_adj],-1,"Days") endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATEADD([tera_date_b],-1,"Days")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error&lt;BR /&gt;278 Parse Error at char(18): Unknown function "DATEADD" (Expression #1)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(19): Unknown variable "hldy_adj" (Expression #2)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(62): Unknown function "DATEADD" (Expression #3)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(62): Unknown function "DATEADD" (Expression #4)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(18): Unknown function "DATEADD" (Expression #5)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(62): Unknown function "DATEADD" (Expression #6)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(54): Unknown function "DATEADD" (Expression #7)&lt;BR /&gt;Error&lt;BR /&gt;278 Parse Error at char(0): Unknown function "DATEADD" (Expression #8)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 16:27:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048190#M12281</guid>
      <dc:creator>hemal91</dc:creator>
      <dc:date>2022-12-12T16:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting parsing error on Alteryx server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048285#M12285</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/364496"&gt;@hemal91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Does the server machine have access to the file that is being used in the workflow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;- if not, I would recommend storing all files in a network location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Did you mean to use the formula DateTimeAdd instead of DateAdd?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Is this a regular workflow or an analytic app?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 18:06:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048285#M12285</guid>
      <dc:creator>PanPP</dc:creator>
      <dc:date>2022-12-12T18:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting parsing error on Alteryx server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048286#M12286</link>
      <description>&lt;P&gt;There is no such function DATEADD.&amp;nbsp; Maybe some one used the SDK and created it locally?&amp;nbsp; That's the only thing I can think of.&amp;nbsp; I see this for SDK info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.alteryx.com/developer-help/build-custom-formula-functions" target="_blank"&gt;https://help.alteryx.com/developer-help/build-custom-formula-functions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 18:02:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048286#M12286</guid>
      <dc:creator>TimN</dc:creator>
      <dc:date>2022-12-12T18:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting parsing error on Alteryx server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048292#M12287</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I am using the macro which is stored on shared network location and a text input which is statically mentioned in workflow.&lt;/P&gt;&lt;P&gt;2) It is a regular workflow.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 18:07:28 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1048292#M12287</guid>
      <dc:creator>hemal91</dc:creator>
      <dc:date>2022-12-12T18:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting parsing error on Alteryx server</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1049768#M12309</link>
      <description>&lt;P&gt;The dateadd isn't a function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide a sample workflow with data that processes this formula tool?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Text input --&amp;gt; Formula tool example&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 02:26:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Getting-parsing-error-on-Alteryx-server/m-p/1049768#M12309</guid>
      <dc:creator>PanPP</dc:creator>
      <dc:date>2022-12-15T02:26:16Z</dc:date>
    </item>
  </channel>
</rss>

