<?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>Siebel Answers &#187; eScript</title>
	<atom:link href="http://interview.siebelunleashed.com/blog/category/escript/feed/" rel="self" type="application/rss+xml" />
	<link>http://interview.siebelunleashed.com/blog</link>
	<description>Making Siebel Interviews easy</description>
	<lastBuildDate>Mon, 29 Mar 2010 15:52:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>What is difference between Siebel Browser Script and Server Script?</title>
		<link>http://interview.siebelunleashed.com/blog/escript/siebel-server-script-browser-script/</link>
		<comments>http://interview.siebelunleashed.com/blog/escript/siebel-server-script-browser-script/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 15:54:22 +0000</pubDate>
		<dc:creator>neel</dc:creator>
				<category><![CDATA[eScript]]></category>
		<category><![CDATA[browser script]]></category>
		<category><![CDATA[server script]]></category>

		<guid isPermaLink="false">http://interview.siebelunleashed.com/blog/?p=501</guid>
		<description><![CDATA[Execution Context: Siebel Server Scripts are executed in Siebel Application Servers by Application Object Manager (AOM). Siebel Browser Scripts are executed at Client Side by Client Browser (Internet Explorer) Files: Siebel Browser Scripts are converted in JS (Java Script) files and stored in PUBLIC\ENU directory. No JS files are created for Server Scripts and they [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>Execution Context:</strong></p>
<ul>
<li><strong>Siebel Server Scripts</strong> are executed in <strong>Siebel Application Servers</strong> by <strong>Application Object Manager (AOM).</strong></li>
<li><strong>Siebel Browser Scripts</strong> are executed at Client Side by <strong>Client Browser (Internet Explorer)</strong></li>
</ul>
<p><strong>Files:</strong></p>
<ul>
<li><strong>Siebel Browser Scripts</strong> are converted in <strong>JS (Java Script)</strong> files and stored in <strong>PUBLIC\ENU</strong> directory.</li>
<li>No JS files are created for Server Scripts and they are executing using Siebel Scripting Engine either T or ST engine depending of Siebel version.</li>
</ul>
<div id="wherego_related"><h3>Readers who viewed this page, also viewed:</h3><ul><li><a href="http://interview.siebelunleashed.com/blog/configuration/different-types-tables-siebel/" rel="bookmark" class="wherego_title">What are different types of tables in Siebel?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/make-record-editable-for-some-and-read-only-for-some/" rel="bookmark" class="wherego_title">Make record editable for some and read only for some?</a></li><li><a href="http://interview.siebelunleashed.com/blog/escript/use-of-siebel-return-canceloperation/" rel="bookmark" class="wherego_title">What is the use of return(CancelOperation)?</a></li><li><a href="http://interview.siebelunleashed.com/blog/smart-scripts/how-to-invoke-smart-script-on-click-of-a-button/" rel="bookmark" class="wherego_title">How to invoke Smart Script on click of a button?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/populate-field-value-with-another-field-value/" rel="bookmark" class="wherego_title">Populate field value with another field value</a></li><li><a href="http://interview.siebelunleashed.com/blog/workflows/use-of-providing-busobjects-workflows/" rel="bookmark" class="wherego_title">What is the Use of Providing BusObject in the Workflows?</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/where-did-they-go-from-here/">Where did they go from here?</a></li></ul></div><p></p>]]></content:encoded>
			<wfw:commentRss>http://interview.siebelunleashed.com/blog/escript/siebel-server-script-browser-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What is the use of return(CancelOperation)?</title>
		<link>http://interview.siebelunleashed.com/blog/escript/use-of-siebel-return-canceloperation/</link>
		<comments>http://interview.siebelunleashed.com/blog/escript/use-of-siebel-return-canceloperation/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 11:23:27 +0000</pubDate>
		<dc:creator>neel</dc:creator>
				<category><![CDATA[eScript]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://interview.siebelunleashed.com/blog/?p=453</guid>
		<description><![CDATA[return(CancelOperation) statement is used to send the control back to Siebel or in other words to stop the normal flow of execution of script of a particular event. This statement is mandatory if we are defining a custom method. For example:  I create a button and give the method name as “CustomMethod”. Now, in BusComp [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>return(CancelOperation)</strong> statement is used to send the control back to <strong>Siebel</strong> or in other words to <strong>stop the normal flow of execution</strong> of script of a particular event.</p>
<p>This statement is mandatory if we are defining a custom method. For example:<span id="more-453"></span></p>
<p> I create a button and give the method name as “<strong>CustomMethod</strong>”. Now, in BusComp PreInvoke event I write the following script</p>
<p><code>if(MethodName == “CustomMethod”)<br />
{<br />
My Script<br />
}</code></p>
<p>If I don&#8217;t write the statement return(CancelOperation) at the end then I am going to get error saying: <em>method “CustomMethod” is not supported by BusComp”</em></p>
<p>So, the correct and complete script when handling a custom method will be</p>
<p><code>if(MethodName == “CustomMethod”)<br />
{<br />
My Script<br />
return(CancelOperation);<br />
}</code></p>
<div id="wherego_related"><h3>Readers who viewed this page, also viewed:</h3><ul><li><a href="http://interview.siebelunleashed.com/blog/configuration/different-types-tables-siebel/" rel="bookmark" class="wherego_title">What are different types of tables in Siebel?</a></li><li><a href="http://interview.siebelunleashed.com/blog/escript/siebel-server-script-browser-script/" rel="bookmark" class="wherego_title">What is difference between Siebel Browser Script and Server Script?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/pre-default-post-default-properties-conflict/" rel="bookmark" class="wherego_title">What will happen if I provide value in both Pre-Default and Post-Default properties?</a></li><li><a href="http://interview.siebelunleashed.com/blog/escript/how-can-we-call-workflow-process-synchronously-through-scripting/" rel="bookmark" class="wherego_title">How can we call workflow process synchronously through scripting ?</a></li><li><a href="http://interview.siebelunleashed.com/blog/workflows/how-is-exception-handling-done-in-workflows/" rel="bookmark" class="wherego_title">How is exception handling done in Workflows?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/siebel-st-better-than-siebel-t-engine/" rel="bookmark" class="wherego_title">Is ST better than T engine? Is it better to typecast variables as in ST? If Yes, why?</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/where-did-they-go-from-here/">Where did they go from here?</a></li></ul></div><p></p>]]></content:encoded>
			<wfw:commentRss>http://interview.siebelunleashed.com/blog/escript/use-of-siebel-return-canceloperation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How can we call workflow process synchronously through scripting ?</title>
		<link>http://interview.siebelunleashed.com/blog/escript/how-can-we-call-workflow-process-synchronously-through-scripting/</link>
		<comments>http://interview.siebelunleashed.com/blog/escript/how-can-we-call-workflow-process-synchronously-through-scripting/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 13:53:30 +0000</pubDate>
		<dc:creator>neel</dc:creator>
				<category><![CDATA[eScript]]></category>
		<category><![CDATA[business services]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[server requests]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://interview.siebelunleashed.com/blog/?p=445</guid>
		<description><![CDATA[There can be several variations to the above questions such as How can one call a Workflow synchronously from a script without using Business Service: Workflow Process Manager? What are various ways business services that we can use to call a workflow process in scripting? The Answer to the above question is Following business services [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>There can be several variations to the above questions such as</p>
<ul>
<li><strong>How can one call a Workflow synchronously from a script without using Business Service: Workflow Process Manager?</strong></li>
<li><strong>What are various ways business services that we can use to call a workflow process in scripting?</strong></li>
</ul>
<p>The Answer to the above question is <span id="more-445"></span></p>
<p>Following business services can be used to call Workflow process Synchronously in scripting</p>
<p><strong>Business Service</strong>: Server Requests<br />
<strong>Method:</strong> SubmitRequest<br />
We will need to specify <strong>Input Argument</strong> <strong>&#8220;Mode&#8221;</strong> as Synchronous to call workflow process synchronously</p>
<p><strong>Business Service</strong>: Synchronous Server Requests<br />
<strong>Method</strong>: SubmitRequest</p>
<p><strong>Business Service</strong>: Workflow Process Manager (Server Request)<br />
<strong>Method</strong>: RunProcess</p>
<p><em>I will try to include examples of calling each business service and executing a workflow but that is going to be a post for siebelunleashed website.</em></p>
<div id="wherego_related"><h3>Readers who viewed this page, also viewed:</h3><ul><li><a href="http://interview.siebelunleashed.com/blog/user-properties/update-field-change-another-field/" rel="bookmark" class="wherego_title">How to update a field based on change in another field?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/different-types-tables-siebel/" rel="bookmark" class="wherego_title">What are different types of tables in Siebel?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/make-record-editable-for-some-and-read-only-for-some/" rel="bookmark" class="wherego_title">Make record editable for some and read only for some?</a></li><li><a href="http://interview.siebelunleashed.com/blog/workflows/use-of-providing-busobjects-workflows/" rel="bookmark" class="wherego_title">What is the Use of Providing BusObject in the Workflows?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/siebel-st-better-than-siebel-t-engine/" rel="bookmark" class="wherego_title">Is ST better than T engine? Is it better to typecast variables as in ST? If Yes, why?</a></li><li><a href="http://interview.siebelunleashed.com/blog/workflows/different-methods-invoke-workflow/" rel="bookmark" class="wherego_title">Different methods of invoking workflow ?</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/where-did-they-go-from-here/">Where did they go from here?</a></li></ul></div><p></p>]]></content:encoded>
			<wfw:commentRss>http://interview.siebelunleashed.com/blog/escript/how-can-we-call-workflow-process-synchronously-through-scripting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

