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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is constrainted picklist?

1068


Where you involved in the design phase and what did you do?

961


Explain how to resolve foreign key in eim?

935


What is inbound in picklist?

1036


How to do validations in escripts and in configuration?

979


When do we go for bc level user properties?

1117


What are the steps required to set the policy expression?

922


Explain how to import list of values?

954


Explain how to edit the joined fields values in join?

928


How to specify a view to be displayed as aggregate view in siebel 7.7?

1291


How do you invoke wfs?

1119


Explain how to find entity relation in siebel tools?

1062


How to find entity relation in siebel tools?

1161


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

1093


What are the steps for creating a mvg?

1114