Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to invoke workflows using scripting

Answers were Sorted based on User's Feedback



how to invoke workflows using scripting..

Answer / vignesh

PFB the way to invokde the workflow through scripting,

Steps:
var sbs = TheApplication().GetService("Workflow Process
Manager");
var psInputs = TheApplication
().NewPropertySet();
var psOutputs = TheApplication
().NewPropertySet();

var sId = this.GetFieldValue("Id");
psInputs.SetProperty ("ProcessName", "WF
Name");
psInputs.SetProperty ("Object Id", sId);
sbs.InvokeMethod("RunProcess", psInputs,
psOutputs);

Is This Answer Correct ?    6 Yes 0 No

how to invoke workflows using scripting..

Answer / guest

we can invoke the workflows using scripting. Call the business
service "Workflow process Manager", pass the inputs and invoke
the method "Runprocess".

Here is sample code,

var inpPS = theApplication().NewPropertySet();
var outPS = theApplication().NewPropertySet();
var oBS = theApplication().GetService("Workflow Process
Manager");
outPS = oBS.InvokeMethod("RunProcess", inpPS);

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Siebel Interview Questions

Explain how many type of siebel data model extensions are there?

0 Answers  


I have two screens(screen1, screen2) contains same applet(applet1).i want in the screen1->applet1 with picklist and screen2->applet1 with diffrent picklist. How can we configure this senario?

6 Answers   Cap Gemini,


Explain the 5 main functions of the server manger?

0 Answers  


Explain audit trail in siebel.

0 Answers  


What is s_party table?

4 Answers   Siebel Systems,


What are different types of tables?

0 Answers  


How many type of siebel data model extensions are there?

0 Answers  


how do you specify a view to be displayed as aggregate view in siebel 7.7?

0 Answers  


How is session persistence used for siebel?

0 Answers  


Explain the use of catch in escript?

0 Answers  


Explain the difference between an organization and division in siebel?

0 Answers  


Explain where you will drop the constraints?

0 Answers  


Categories