<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Unable to fetch the data from doc using AI skills</title><link>https://community.appian.com/discussions/f/rules/38095/unable-to-fetch-the-data-from-doc-using-ai-skills</link><description>Hello Appian Community, 
 I am currently using AI Skills in Appian to extract data from a document. The extracted data is being saved as text at the process model level. However, I need to convert this text into JSON format for further processing. 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Unable to fetch the data from doc using AI skills</title><link>https://community.appian.com/thread/143367?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 11:33:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:371c59dd-8316-4093-adcf-b44a4d280fb0</guid><dc:creator>Ram Ganesh</dc:creator><description>&lt;p&gt;ya ok thanks &lt;a href="/members/sandhyab4212"&gt;Sandhyab4212&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch the data from doc using AI skills</title><link>https://community.appian.com/thread/143363?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 09:07:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2bfcf8d-027c-44ec-bc97-b391afd5b795</guid><dc:creator>Sandhyab4212</dc:creator><description>&lt;p&gt;If you want to convert extracted data to JSON, use toJson() function, not fromJson() function&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch the data from doc using AI skills</title><link>https://community.appian.com/thread/143361?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 08:59:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ecb89f3d-f51c-4277-85f6-5dcf33bfa68a</guid><dc:creator>Sandhyab4212</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are passing text as input to the &lt;strong&gt;Json&lt;/strong&gt; function, JSON function doesn&amp;#39;t accept text as input as per my knowledge, you can save the extracted data into a variable which is of type CDT, Records or map based on your convenience, after that convert the pv!variable(stored extracted data) into JSON.&lt;br /&gt;try this once, hope you will get the expected output!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>