<?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>I have a process Id in my plugin, How to read the PV of type CDT of that process</title><link>https://community.appian.com/discussions/f/plug-ins/6929/i-have-a-process-id-in-my-plugin-how-to-read-the-pv-of-type-cdt-of-that-process</link><description>I have a process Id in my plugin, How to read the PV of type CDT of that process instance using API? I have used the below code to fetch the CDT, But it is returning me an object. But the expectation is to fetch the CDT(of type multiple) values. ServiceContext</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have a process Id in my plugin, How to read the PV of type CDT of that process</title><link>https://community.appian.com/thread/27934?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 14:09:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3806ac0d-ac92-45e3-8168-99855eeed95f</guid><dc:creator>samiullahm</dc:creator><description>To get CDT values as a string you need to do the following..&lt;br /&gt;TypeService ts=ServiceLocator.getTypeService(context);&lt;br /&gt;AppianTypeFactory tf= AppianTypeFactory.newInstance(ts);&lt;br /&gt;AppianElement ae=tf.toAppianElement(pv1);&lt;br /&gt;return ae.toString();&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process Id in my plugin, How to read the PV of type CDT of that process</title><link>https://community.appian.com/thread/27641?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2016 13:50:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b19eb968-9bf9-4fed-b688-dc2a86185ff1</guid><dc:creator>James Carter</dc:creator><description>The Type Transformer library can help read CDTs in Java. It can be downloaded from shared components and has examples in the Java docs.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5yEd32A_lu1GAo27m4jdn-vS8zTYUCiDlw/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>