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 the maximum number of applets can be there in a view?

1009


In a flow, when a Customer has called for enquiring about some product. He does not have any Service tag, Order # or SR#. In this case what kind of Activity will be created and how will the agent proceed with the Activity.

1843


Explain where you will drop the constraints?

945


How extension table is related to base table?

902


What are the functionalities performed by siebel?

936


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

895


What is difference between join specification and join definition?

1018


Siebel 7.7 how do you add button icon in an applet? Like new,query,delete.i want activate button also.

910


Tell me when do you use property sets in siebel?

905


When do we go for dynamic picklist and for pick applet?

908


How do you recognize that a particular table (base table) can be extended?

921


How is Siebel x data model is different from Siebel 0 data model?

939


Why do we use symbolic strings in siebel 77?

1063


What is virtual bc?

932


Can multiple presentation catalogs refer to one business model?

986