Siebel eScript – An Overview

Scripting is one of the most important areas in Siebel Development but irony is that it is never recommended to write script in Siebel. Siebel scripting is done in a language known as eScript. eScript shares it’s syntax with JavaScript. If you have worked in JavaScript then you would find it pretty easy to adapt to eScript.

eScript can be broadly classified into two categories

  • Server Scripts
  • Browser Scripts

Server Scripts: as its name suggests is executed on server side. Which means that the user request is sent to server where the scripts is then executed

Browser Script: is actually converted into JavaScript and is executed on client side.

Usually scripting is written on objects in Siebel such as Applets, Business Components etc. But the main use of eScript is done to write Business Services. There are lots of things that you achieve through a business service. Detail discussion on business service is subject to different post but it is similar to somewhat workflows implementing complete business processes with the help of script.

Scripting should be used as a last resort. Everything can be done through script of course but it makes the manageability and up gradation of Application difficult.

But as I said in my earlier post to be a successful Siebel developer Scripting and Configuration should be your strong points. Scripting can be fun but should be avoided as long as possible.

5 Responses to Siebel eScript – An Overview

  1. Hello,
    I would like to elaborate little more…
    Siebel allowed two scripting VB & E-scripting, here I need to talk about e-scripting more.I have worked with both scripting but i found e-scripting more flexible and could work properly on window server as well as unix based servers ,but VB scripting is only for Window according to my knowledge.e-script is having a rich inbuilt functionality.a huge Date/Time function compare to VB.It’s simple who already knows Java script/java.
    Definately scripting is last option ,but some biz req is not possible without scriting .because i have worked with SLA/Dicision Tree /Service Metrices that includes schedule hour / Exception hours.So it was not possible to implement through configuration.
    One thing also very important ,we can use scripting many places , but using it at perfect place is very important.
    Siebel recomandate to use scripting in BS becz BS could be used through WF.
    Danish

  2. Hello,
    I would like to elaborate little more…
    Siebel allowed two scripting VB & E-scripting, here I need to talk about e-scripting more.I have worked with both scripting but i found e-scripting more flexible and could work properly on window server as well as unix based servers ,but VB scripting is only for Window according to my knowledge.e-script is having a rich inbuilt functionality.a huge Date/Time function compare to VB.It’s simple who already knows Java script/java.
    Definately scripting is last option ,but some biz req is not possible without scriting .because i have worked with SLA/Dicision Tree /Service Metrices that includes schedule hour / Exception hours.So it was not possible to implement through configuration.
    One thing also very important ,we can use scripting many places , but using it at perfect place is very important.
    Siebel recomandate to use scripting in BS becz BS could be used through WF.
    Danish

  3. I have a requirement of creating activity for campaign owner whose campaign’s end date is over but status is not completed.for this i need one business service that will be invoke by workflow. could anyone guide me for script that is using in business script so that i can invoke this business service by workflow.

Leave a Reply

Contribute