<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Parth on Livecycle</title>
	<atom:link href="http://blog.pandyaparth.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pandyaparth.com</link>
	<description>aka - LiveCycle Karma (Personal blog on LiveCycle, Adobe enterprise technologies and innovation)</description>
	<lastBuildDate>Sun, 05 Feb 2012 23:15:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>LiveCycle/ADEP Superblog &#8211; Human-Moderated Aggregator</title>
		<link>http://blog.pandyaparth.com/2012/02/livecyclesuperblog/</link>
		<comments>http://blog.pandyaparth.com/2012/02/livecyclesuperblog/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 23:15:17 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[Adobe Learning Resources]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LiveCycle ES2]]></category>
		<category><![CDATA[ADEP]]></category>
		<category><![CDATA[Adobe Learning]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[BPM]]></category>
		<category><![CDATA[LiveCycle]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=210</guid>
		<description><![CDATA[Hello Everyone, It&#8217;s been super busy at work recently. Lots of great agile teams based projects. Been busy in architectural work and delivering those hard earn builds. It&#8217;s been fun filled 2011 at Avoka. While I look forward to the challenges and opportunities for 2012 its becoming clear that a good information network supported by social connections will [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDEyJTJGMDIlMkZsaXZlY3ljbGVzdXBlcmJsb2clMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2012%2F02%2Flivecyclesuperblog%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hello Everyone,</p>
<p>It&#8217;s been super busy at work recently. Lots of great agile teams based projects. Been busy in architectural work and delivering those hard earn builds. It&#8217;s been fun filled 2011 at Avoka. While I look forward to the challenges and opportunities for 2012 its becoming clear that a good information network supported by social connections will be really helpful to learn and deliver really good solutions.</p>
<p>Friends at Adobe have created a superblog specifically around LiveCycle/ADEP Document Services. This human-moderated aggregator is something I&#8217;m looking forward to. I&#8217;ve lot of blogs in my Google Reader list but it&#8217;s always been hard for few other friends to find and subscribe at first instance. And reading regularly to those blog posts are different story!!! I think this LiveCycle specific superblog will help those kinda readers/devs who just wish to look at one place and find all of the community based gems.</p>
<p>The home to this LiveCycle aggregator is - <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2dzLmFkb2JlLmNvbS9saXZlY3ljbGVwb3N0Lw==">http://blogs.adobe.com/livecyclepost/</a></p>
<p>It&#8217;s the courtesy of Adobe Learning Resources. I hope to see few more initiatives like this to help the knowledge spread around LiveCycle.</p>
<p>I think LiveCycle Enterprise Suite is one of the best platform around SOA/BPM/Document based human and back-office processing. Developer community generated content around tips/tricks, best practices, innovations and success stories will help spread the awareness in dev and business world both.</p>
<p>Best wishes for 2012.</p>
<p>-Parth</p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=210" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2012/02/livecyclesuperblog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining if the LiveCycle Scheduler has Started in Cluster Mode</title>
		<link>http://blog.pandyaparth.com/2011/02/determining-if-the-livecycle-scheduler-has-started-in-cluster-mode/</link>
		<comments>http://blog.pandyaparth.com/2011/02/determining-if-the-livecycle-scheduler-has-started-in-cluster-mode/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 01:32:04 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LiveCycle ES2]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=199</guid>
		<description><![CDATA[LiveCycle product blog has recently published a nice article that allows you to check if the LiveCycle scheduler has started properly in cluster mode or not. Thanks LiveCycle team for publishing the details. The blog entry can be found at &#8211; http://blogs.adobe.com/livecycle/2011/02/schedulerclustermode.html]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDExJTJGMDIlMkZkZXRlcm1pbmluZy1pZi10aGUtbGl2ZWN5Y2xlLXNjaGVkdWxlci1oYXMtc3RhcnRlZC1pbi1jbHVzdGVyLW1vZGUlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2011%2F02%2Fdetermining-if-the-livecycle-scheduler-has-started-in-cluster-mode%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>LiveCycle product blog has recently published a nice article that allows you to check if the LiveCycle scheduler has started properly in cluster mode or not.</p>
<p>Thanks LiveCycle team for publishing the details.<br />
The blog entry can be found at &#8211; <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2dzLmFkb2JlLmNvbS9saXZlY3ljbGUvMjAxMS8wMi9zY2hlZHVsZXJjbHVzdGVybW9kZS5odG1s">http://blogs.adobe.com/livecycle/2011/02/schedulerclustermode.html</a></p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=199" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2011/02/determining-if-the-livecycle-scheduler-has-started-in-cluster-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Easiest way to create powerful LiveCycle forms &#8211; SmartForm Composer</title>
		<link>http://blog.pandyaparth.com/2010/11/smartform-composer/</link>
		<comments>http://blog.pandyaparth.com/2010/11/smartform-composer/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 11:52:34 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle Designer]]></category>
		<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LiveCycle ES2]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=164</guid>
		<description><![CDATA[If you have found this page while struggling to get something to work in LiveCycle PDF form then you can&#8217;t afford to ignore this article . If you are thinking of creating more than 2 PDF forms for your organisation then this post has something that can save you days, weeks and lots of coffee [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDEwJTJGMTElMkZzbWFydGZvcm0tY29tcG9zZXIlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2010%2F11%2Fsmartform-composer%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<ul>
<li>
<h4>If you have found this page while struggling to get something to work in LiveCycle PDF form then you can&#8217;t afford to ignore this article .</h4>
</li>
<li>
<h4>If you are thinking of creating more than 2 PDF forms for your organisation then this post has something that can save you days, weeks and lots of coffee (Saves you $$$$) !!!</h4>
</li>
</ul>
<p>Anyone who has created PDF forms in Adobe LiveCycle designer can tell that a complex, fully functional, good looking form with lot of fields can be a challenge to get it right in rapid development environment.</p>
<p>Adobe LiveCycle Designer is a powerful tool and has features to create really amazing forms but it has its downside as well. It can be a serious learning curve. This can limit the productivity as only few guys in the IT or development department can do it for business. This doesn&#8217;t scale very well in current economic time as well.</p>
<p>Before I introduce what I think is the easiest and  fastest way to create powrful PDF forms, Let me highlight what I think is causing the most pain when we have to create PDF forms that work with LiveCycle ES or any other data capture and processing system.</p>
<h3>Reason 1: No Pain, No Gain of form requirements saga</h3>
<p>Getting the PDF form specification with details like field validation, mandatory logic, show-hide logic,  tooltip text, look and feel details is a mammoth task. It&#8217;s crucial to get it right BUT it is a challenging to pass on the same requirements to developer. (Imagine at least a 5 pager form with minimum of 100 fields and different look and fill for print and online usage)</p>
<h3>Reason 2: No direct visibility to business into form development activity</h3>
<p>Unless the business analyst or a subject matter expert sits next to the form designer, it is going to be hard to get a decent look and feel in place in the first iteration. Field placement, correct tooltip text, field grouping with correct title on section etc will just take up lot of time before a final version of the form is released. And then comes the small requests like can you change tooltips as per attached document as legal or usability team has amended them!!? So on and so forth&#8230;.it just happens..right?</p>
<h3>Reason 3: Form development in a team</h3>
<p>Forms development in team environment with templates and libraries being shared has its own challenges. Thanks to fragments, so we can update every form that uses it by just opening it and saving again in Designer. But what if a library component needs a change and you have used it 100 times in 20 forms?? The answer&#8230;..Outsourcing/hire a  housewife or uni student!!!! In short, sharing of library and template components, maintaining them and making sure that forms have the most up to date library components is a big exercise for any development team.</p>
<h3>Reason 4: Compliance to standard L&amp;F and bulk update</h3>
<p>I think the reason 4 is self explanatory.</p>
<p>And, my list goes on and on and on&#8230;.. Over the years I&#8217;ve seen so many things that I think can be tackled in much more better and cost effective way. Finally I use a tool that helps me to manage these in a more elegant way.</p>
<h2>The Solution:</h2>
<h2><a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hdm9rYS5jb20vc21hcnRmb3JtLWNvbXBvc2VyLW92ZXJ2aWV3Lmh0bWw=" target=\"_blank\"><span style="color: #3366ff;">Avoka SmartForm Composer</span></a></h2>
<p>I&#8217;ve been fortunate enough to see this product maturing from its inception. The amazing simplicity this product brings into the SmartForm development is never seen before.</p>
<p>It would be just too long blog post if I had to go through my fav features of this tool. But fortunately Howard and his team has put together videos to introduce the features and SmartForm Composer&#8217;s capabilities to give you an idea of this tool. They can be found at <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hdm9rYS5jb20vc21hcnRmb3JtLWNvbXBvc2VyLWZlYXR1cmVzLWFuZC1kZW1vcy5odG1s" target=\"_blank\">here</a>.</p>
<p>I would definitely recommend to watch those videos. It might just change your perception on how easy and quickly you can get a fully functional and yet powerful form without minimal scripting.</p>
<p>Feel free to comment on this post if you want to know all of the reasons why I would prefer this tool over creating a form in designer. I&#8217;ll happily post a new blog entry with them.</p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=164" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2010/11/smartform-composer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LiveCycle ES2 Workbench add-ons</title>
		<link>http://blog.pandyaparth.com/2010/07/livecycle-es2-workbench-add-ons/</link>
		<comments>http://blog.pandyaparth.com/2010/07/livecycle-es2-workbench-add-ons/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 01:24:41 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle ES2]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Workbench]]></category>
		<category><![CDATA[add-ons]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=171</guid>
		<description><![CDATA[Hi All, I&#8217;m really looking forward to using the Workbench add-ons that adobe just released on the labs. More info and download at &#8211; http://labs.adobe.com/technologies/lcworkbench_addons/ Here are my fav features among others - Variable Highlighting Schema Editor Type Selection Improvements Thanks LiveCyle &#38; Workbech team&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDEwJTJGMDclMkZsaXZlY3ljbGUtZXMyLXdvcmtiZW5jaC1hZGQtb25zJTJG"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2010%2F07%2Flivecycle-es2-workbench-add-ons%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi All,</p>
<p>I&#8217;m really looking forward to using the Workbench add-ons that adobe just released on the labs.</p>
<p>More info and download at &#8211; <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2xhYnMuYWRvYmUuY29tL3RlY2hub2xvZ2llcy9sY3dvcmtiZW5jaF9hZGRvbnMv" target=\"_blank\"><strong></strong>http://labs.adobe.com/technologies/lcworkbench_addons/</a><br />
Here are my fav features among others -</p>
<ol>
<li> Variable Highlighting</li>
<li> Schema Editor</li>
<li> Type Selection Improvements</li>
</ol>
<p>Thanks LiveCyle &amp; Workbech team&#8230;</p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=171" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2010/07/livecycle-es2-workbench-add-ons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LiveCycle ES2 removes JMS and uses Workmanager API&#8230; Yay!!</title>
		<link>http://blog.pandyaparth.com/2010/04/livecycle-es2-removes-jms-and-uses-workmanager-api-yay/</link>
		<comments>http://blog.pandyaparth.com/2010/04/livecycle-es2-removes-jms-and-uses-workmanager-api-yay/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 10:38:26 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JSR-237]]></category>
		<category><![CDATA[LiveCycle ES2]]></category>
		<category><![CDATA[Workmanager API]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=168</guid>
		<description><![CDATA[Until LiveCycle ES2, the JMS was used in LiveCycle to manage processes and tasks. This has led to some of the odd and painful incidents.. LiveCycle ES2 uses Workmanager API (JSR-237) which will definitely make the LiveCycle community happier.. The Livecycle server can also have the java parameters to control the workmanager throttling options. Here [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDEwJTJGMDQlMkZsaXZlY3ljbGUtZXMyLXJlbW92ZXMtam1zLWFuZC11c2VzLXdvcmttYW5hZ2VyLWFwaS15YXklMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2010%2F04%2Flivecycle-es2-removes-jms-and-uses-workmanager-api-yay%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Until LiveCycle ES2, the JMS was used in LiveCycle to manage processes and tasks. This has led to some of the odd and painful incidents..</p>
<p>LiveCycle ES2 uses Workmanager API (JSR-237) which will definitely make the LiveCycle community happier..</p>
<p>The Livecycle server can also have the java parameters to control the workmanager throttling options.<br />
Here are the option that you can tweak as java parameters:</p>
<ul>
<li> adobe.work-manager.queue-refill-interval</li>
<li> adobe.workmanager.debug-mode-enabled</li>
<li> adobe.workmanager.memory-control.enabled</li>
<li> adobe.workmanager.memory-control.high-limit</li>
<li> adobe.workmanager.memory-control.low-limit</li>
</ul>
<p>More details at &#8211; <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2tiMi5hZG9iZS5jb20vY3BzLzgyNS9jcHNpZF84MjU2OC9hdHRhY2htZW50cy9Xb3JrTWFuYWdlclRocm90dGxlLnBkZg==" target=\"_blank\">http://kb2.adobe.com/cps/825/cpsid_82568/attachments/WorkManagerThrottle.pdf</a></p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=168" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2010/04/livecycle-es2-removes-jms-and-uses-workmanager-api-yay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional set value using XPath</title>
		<link>http://blog.pandyaparth.com/2009/11/conditional-set-value-using-xpath/</link>
		<comments>http://blog.pandyaparth.com/2009/11/conditional-set-value-using-xpath/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 06:07:25 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle Components]]></category>
		<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LiveCycle ES2]]></category>
		<category><![CDATA[Workbench]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XPath]]></category>
		<category><![CDATA[Innovation]]></category>
		<category><![CDATA[XPath expression]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=146</guid>
		<description><![CDATA[In my quest to use XPath functions &#38; expressions more efficiently in LiveCycle I managed to achieve &#8216;conditional set value&#8217; yesterday. Example scenarios: Add some text to email body if some condition is true/false. Add some text into T&#38;Cs if certain product is selected. In a generic/single Email or Set Value step you need to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDA5JTJGMTElMkZjb25kaXRpb25hbC1zZXQtdmFsdWUtdXNpbmcteHBhdGglMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2009%2F11%2Fconditional-set-value-using-xpath%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In my quest to use XPath functions &amp; expressions more efficiently in LiveCycle I managed to achieve &#8216;conditional set value&#8217; yesterday.</p>
<h3>Example scenarios:</h3>
<ul>
<li>Add some text to email body if some condition is true/false.</li>
<li>Add some text into T&amp;Cs if certain product is selected.</li>
<li>In a generic/single Email or Set Value step you need to construct a big block of text. eg. Offer letter with certain paragraphs based on few conditions.</li>
</ul>
<h3>Approach 1: The usual way (or one of the usual ways):</h3>
<p>An orchestration in Workbench with <span style="color: #ff0000;">few setValue steps</span> and<span style="color: #ff0000;"> few conditional routes</span> to add/append the desired text to existing text.</p>
<p>And these steps need to be in certain order.</p>
<h3>Approach 2: The XPath trick</h3>
<p>I used <span style="color: #0000ff;">substring()</span> and<span style="color: #0000ff;"> number()</span> function with pure <span style="color: #0000ff;">XPath expression</span> to construct conditional set value. See the usage below.</p>
<h3>Example:</h3>
<p>Consider a requirement in which you wish to send an email with few extra lines added to it if product A is ordered. And if contract term is 12 months then we need to add another T&amp;C statement in the email body.</p>
<p>Let&#8217;s implement that with both approaches&#8230;</p>
<h4>Approach 1: Few set value step and routing conditions to set process variables that get used in email body.</h4>
<h5>Process Diagram:</h5>
<div id="attachment_148" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cucGFuZHlhcGFydGguY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzExL0FwcHJvYWNoMS5QTkc="><img class="size-medium wp-image-148" title="LC Set Value approach" src="http://blog.pandyaparth.com/wp-content/uploads/2009/11/Approach1-300x159.PNG" alt="Set Value - Route condition approach" width="300" height="159" /></a><p class="wp-caption-text">Set Value - Route condition approach</p></div>
<h5>Email body:</h5>
<blockquote><p>Dear Provisioning Team,</p>
<p>Please send the below details to John.</p>
<p>System:{$ /process_data/@System $}<br />
Agent Name:{$ /process_data/@Agentname $}<br />
Product ordered: {$ /process_data/@Product $}</p>
<p><span style="color: #ff0000;">{$ /process_data/@ProductAConfigurationDetails $}</span></p>
<p>Terms and Conditions:<br />
blah blah blah from Legal<br />
adf<br />
adf<br />
<span style="color: #ff0000;">{$ /process_data/@TCFor12MonthsContract$}</span><br />
blah<br />
blah</p>
<p>regards,<br />
BOH Team</p></blockquote>
<h4>Approach 2: Conditional set value with XPath</h4>
<h5>Process diagram:</h5>
<p><a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cucGFuZHlhcGFydGguY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzExL0FwcHJvYWNoMi5QTkc="><img class="alignnone size-medium wp-image-153" title="Set Value XPath approach" src="http://blog.pandyaparth.com/wp-content/uploads/2009/11/Approach2-300x123.PNG" alt="Set Value XPath approach" width="300" height="123" /></a></p>
<h5>Email Body</h5>
<blockquote><p>Dear Provisioning Team,</p>
<p>Please send the below details to John.</p>
<p>System:{$ /process_data/@System $}<br />
Agent Name:{$ /process_data/@Agentname $}<br />
Product ordered: {$ /process_data/@Product $}<br />
<span style="color: #ff6600;"><br />
<span style="color: #0000ff;">{$ substring(&#8216;This is where the actual text gets put about the product configuration&#8217;,<br />
50000000 * (number(/process_data/@Product !=&#8217;Product A&#8217;))<br />
) $}</span></span></p>
<p>Terms and Conditions:<br />
blah blah blah from Legal<br />
adf<br />
adf<span style="color: #339966;"><br />
<span style="color: #0000ff;">{$ substring(&#8217;12 Months T&amp;C content is written here or can be xpath expression&#8217;,<br />
50000000 * (number(/process_data/@ContractLength !=&#8217;12&#8242;))<br />
) $}</span></span><br />
blah<br />
blah</p>
<p>regards,<br />
BOH Team</p></blockquote>
<h3>Explanation:</h3>
<ul>
<li>The above expression marked in blue puts the text in email body if the condition at the end of it fulfills.</li>
<li>By moving this logic into the email step itself I could clean up the process design significantly. I believe that LC is too good to do data transformation but common&#8230;few set value and few conditional routes for a simple text insertion?? I reckon the XPath trick gives much more cleaner approach to solve this.</li>
<li>First thing to notice in the expression is the use of a large number <span style="color: #ff6600;"><span style="color: #0000ff;">50000000</span></span> . This is used to return blank substring value if the expression is false. Please adjust if your input text can be larger than this.</li>
<li>Second thing to notice is the use of comparison operator. I wanted to have 0 (zero) value for substring start value if condition is true. Boolean true is 1 so I&#8217;m using opposite operator. Eg. if(product=&#8221;Product A&#8221;) is represented as product!=&#8221;Product A&#8221;</li>
</ul>
<p>As this is an XPath based expression we can use it in any LC component. I tried implementing if-else clause as well but that didn&#8217;t turn out well.</p>
<p>If you managed to read through this much then I&#8217;m sure you would love to see the <span style="color: #ff0000;">undocumented &#8216;and&#8217; &#8216;or&#8217; keyword usage in XPath expression</span>. I found that while experimenting and it&#8217;s an instant hit among few of my fellow LC users. <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cucGFuZHlhcGFydGguY29tLzIwMDkvMDcvaW50cm9kdWNpbmctbGMta2V5d29yZHMtbG9naWNhbC1vcGVyYXRvcnMtYW5kb3Iv" target=\"_self\">It can be found here</a>..</p>
<p>Let me know if you find this useful!!!!</p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=146" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2009/11/conditional-set-value-using-xpath/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LiveCycle ES2 documentation</title>
		<link>http://blog.pandyaparth.com/2009/11/livecycle-es2-documentation/</link>
		<comments>http://blog.pandyaparth.com/2009/11/livecycle-es2-documentation/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 01:41:18 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[LiveCycle ES2]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=141</guid>
		<description><![CDATA[I&#8217;m thrilled to see LiveCycle ES2 help page with the links to all of the ES2 documentation. Thanks to Livecycle Docs team at Adobe for publishing this one page reference. I&#8217;ve seen colleagues and clients struggling to find different docs since I started working on LiveCycle, some 4 years back. This is the page that [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDA5JTJGMTElMkZsaXZlY3ljbGUtZXMyLWRvY3VtZW50YXRpb24lMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2009%2F11%2Flivecycle-es2-documentation%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;m thrilled to see LiveCycle ES2 help page with the links to all of the ES2 documentation.</p>
<p>Thanks to <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2dzLmFkb2JlLmNvbS9saXZlY3ljbGVkb2NzLw==" target=\"_blank\">Livecycle Docs team</a> at Adobe for publishing this one page reference. I&#8217;ve seen colleagues and clients struggling to find different docs since I started working on LiveCycle, some 4 years back.</p>
<p>This is the page that we all should have in our bookmarks.</p>
<p><a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2hlbHAuYWRvYmUuY29tL2VuX1VTL2xpdmVjeWNsZS85LjAvbGNfZG9jbGlzdC5odG1s" target=\"_blank\">http://help.adobe.com/en_US/livecycle/9.0/lc_doclist.html</a></p>
<p>Thanks again Doc team!!</p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=141" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2009/11/livecycle-es2-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to LiveCycle ES2!! My fav bits</title>
		<link>http://blog.pandyaparth.com/2009/11/upgrade-to-livecycle-es2-my-fav-bits/</link>
		<comments>http://blog.pandyaparth.com/2009/11/upgrade-to-livecycle-es2-my-fav-bits/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 23:15:35 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle ES2]]></category>
		<category><![CDATA[Form Guide]]></category>
		<category><![CDATA[LiveCycle testing]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://blog.pandyaparth.com/?p=137</guid>
		<description><![CDATA[I was recently reading about upgrade to ES2 and new features of ES2 and these are my favorite bits. I&#8217;ll play with ES2 after the GM release and post the experiance later.. But so far this is what I&#8217;m really looking forward in ES2. Simplify testing and deployment by previewing your business process, including testing [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDA5JTJGMTElMkZ1cGdyYWRlLXRvLWxpdmVjeWNsZS1lczItbXktZmF2LWJpdHMlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2009%2F11%2Fupgrade-to-livecycle-es2-my-fav-bits%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I was recently reading about upgrade to ES2 and new features of ES2 and these are my favorite bits. I&#8217;ll play with ES2 after the GM release and post the experiance later.. But so far this is what I&#8217;m really looking forward in ES2.</p>
<ul>
<li><span style="color: #ff0000;">Simplify testing</span> and deployment by previewing your business process, including testing form and Flex® user interfaces, and recording the process results.</li>
</ul>
<p>The testing is on the top of my wish list. I even thought of writting a whole new AIR application to make our life easier around workflow testing and deployment. I&#8217;m talking about deployment on several staging environment!! But for now let&#8217;s forget about my AIR app development&#8230; Thanks ES2 for looking into this.</p>
<ul>
<li>Reference real-time <span style="color: #ff0000;">graphical server health statistics</span> within the LiveCycle administration UI.</li>
</ul>
<p>Love this&#8230;eliminates the need for a monitoring software for small projects.. Will it also have customisable alerts too?</p>
<ul>
<li>Upgrade available from ES update 1, LC 7 and LC 6.</li>
</ul>
<p>This is a big sale point to encourage clients on LC7 deployments. I wish the &#8216;compatibility layer&#8217; usage can be kept to minimal usage as part of the upgrade.</p>
<ul>
<li>Enhancements to Form Guide development cycle.</li>
</ul>
<p>This is BIG improvement&#8230; It&#8217;s something you just need to play with.</p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=137" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2009/11/upgrade-to-livecycle-es2-my-fav-bits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing LC Keywords-Logical Operators&#8211; and,or</title>
		<link>http://blog.pandyaparth.com/2009/07/introducing-lc-keywords-logical-operators-andor/</link>
		<comments>http://blog.pandyaparth.com/2009/07/introducing-lc-keywords-logical-operators-andor/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 15:09:45 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LC keywords]]></category>
		<category><![CDATA[LiveCycle operators]]></category>
		<category><![CDATA[Logical Operators]]></category>
		<category><![CDATA[Route conditions]]></category>
		<category><![CDATA[XPath and or]]></category>
		<category><![CDATA[XPath keyword]]></category>

		<guid isPermaLink="false">http://livecyclekarma.wordpress.com/?p=122</guid>
		<description><![CDATA[I was experimenting with xpath expression and found that the &#8216;and&#8217; and &#8216;or&#8217; works perfectly as the logical operators. I&#8217;m perosnally so happy to see them working. In few cases it was too hard to configure the conditional routes with just OR/AND joint. I&#8217;ve attached an example to demonstrate a simple usage of &#8216;and&#8217;-'or&#8217; logical [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDA5JTJGMDclMkZpbnRyb2R1Y2luZy1sYy1rZXl3b3Jkcy1sb2dpY2FsLW9wZXJhdG9ycy1hbmRvciUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2009%2F07%2Fintroducing-lc-keywords-logical-operators-andor%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I was experimenting with xpath expression and found that the &#8216;and&#8217; and &#8216;or&#8217; works perfectly as the logical operators.<br />
I&#8217;m perosnally so happy to see them working. In few cases it was too hard to configure the conditional routes with just OR/AND joint.</p>
<p>I&#8217;ve attached an example to demonstrate a simple usage of &#8216;and&#8217;-'or&#8217; logical operators. This is the condition that I&#8217;ve put in the example.</p>
<blockquote><p>(normalize-space(/process_data/@Input_Value1)=&#8217;555&#8242; <strong><span style="color:#ff0000;">or</span></strong> normalize-space(/process_data/@Input_Value1)=&#8217;666&#8242;) <span style="color:#ff0000;"><strong>and</strong></span> (normalize-space(/process_data/@Input_Value2)=&#8217;777&#8242;)</p></blockquote>
<p>I believe that this is going to make workflow design so much cleaner. Instead of nested conditional routes and 4-5 decision points or set value steps we would be able to do lot more things in few steps now.</p>
<p>I think this is an XPath Explorer feature so is not limited to just route conditions. All of the places where XPath expression is evaluated should be able use these.</p>
<p>Hope this helps to you too!!!</p>
<div>
<p><a class=\"alignleft\" title=\"XPath logical operator example\" href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3BhbmR5YXBhcnRoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8wNy9sYy1rZXl3b3Jkcy1sb2dpY2FsLW9wZXJhdG9yLWFuZC1vci1leGFtcGxlLnBkZg==" target=\"_blank\">Download the example from here.</a></div>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=122" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2009/07/introducing-lc-keywords-logical-operators-andor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Max 2009 Announced</title>
		<link>http://blog.pandyaparth.com/2009/06/max-2009-announced/</link>
		<comments>http://blog.pandyaparth.com/2009/06/max-2009-announced/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 03:52:30 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[Max 2009]]></category>

		<guid isPermaLink="false">http://livecyclekarma.wordpress.com/2009/06/18/max-2009-announced/</guid>
		<description><![CDATA[Adobe just announced the details of the MAX 2009. All of the session and lab sessions are also available on the max website. Few things that I like - Three separate tracks to focus for different type of audience New Livecycle@Max preconference Interesting sessions like &#8211; Portal based workspace, How to architect LCES in enterprise, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDA5JTJGMDYlMkZtYXgtMjAwOS1hbm5vdW5jZWQlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2009%2F06%2Fmax-2009-announced%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Adobe just announced the details of the MAX 2009. All of the session and lab sessions are also available on the max website.<br />
Few things that I like -</p>
<ul>
<li> Three separate tracks to focus for different type of audience</li>
<li> New Livecycle@Max preconference</li>
<li> Interesting sessions like &#8211; Portal based workspace, How to architect LCES in enterprise, Services.SOA.Cloud roadmap etc&#8230;</li>
</ul>
<p>More details at: <a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21heC5hZG9iZS5jb20vYmxvZy8yMDA5LzA2L21heC0yMDA5LWFubm91bmNlZC5odG1s" target=\"_blank\">Max Blog</a></p>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=117" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2009/06/max-2009-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

