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

i have two business components but iwant to make visible applet to only one business component

0 Answers   Mphasis,


What is seed data in Siebel?

2 Answers   Siebel Systems,


Hirarchical pick is there in one applet, parent is "country" in this field "IND, USA" r there and child field "City" in this Hyd,Delhi, Bang for india and Newyork, washington for usa .Now if i select ind then Hyd... shown in child field then i select suppose hyd, now come parent field if i select usa & tabout the field still i see "Hyd" in child field unless i select the one of the city related to usa even though i check the immidiate postchange property in field level then how to i see it is Blank or related values

3 Answers  


What is siebel?

0 Answers  


What is Virtual BC?what is the use of vbc?

4 Answers   Oracle, PF Enterprise, Symphony,


what is the maximum number of applets can be there in a view?

0 Answers  


What is the use of virtual bc?

0 Answers  


What is horizontal and vertical in siebel?

0 Answers  


Explain how extension table is related to base table?

0 Answers  


What does business component user mode indicate?

0 Answers  


Explain in brief about siebmtsh.exe.

0 Answers  


Explain if gateway server is not present cant we do load balancing?

0 Answers  


Categories