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

How do you convert one country currencies to another country currencies please explain me

2 Answers   Cognizant,


Explain why do we use symbolic strings in siebel 77?

0 Answers  


What are the test cases which you will be writing provided the scenario is in an Accounts tab, there are three different status like ‘Open’, ‘Active’ and ‘Pending’. Every night a nightly job will be running and the Accounts which are in ‘Open’ status will be changed to ‘Active’ after the job runs. The user does not have the privilege to change the Status from ‘Open’ to ‘Active’, only privilege he has is to change to ‘Pending’ status.

3 Answers   IBM,


Explain is it posible to access more than one database at a single siebel application?

0 Answers  


What is inbound and outbound in picklist?

0 Answers  


Explain why does data not from related child tables not get exported when data is exported using an interface table?

0 Answers  


Explain the differences between siebel 7.8 and 8.0?

0 Answers  


best practices in scripting and workflows?

1 Answers   TCS,


How to call external webpage from siebel application?

0 Answers  


Explain pick applet, dynamic picklist: which will be better if performance issue is considered?

0 Answers  


What value will get stored in the database when a field has both predefault value and post default value?

0 Answers  


Define a Siebel file system?

5 Answers   Siebel Systems,


Categories