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

how would we give access to data using positions

1853


What happens if you create an employee in siebel application and forget to create?

1017


Tell me when do you use property sets in siebel?

922


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.

1856


Suppose I have a view with form applet on the top and list applet at the bottom.there is "score" field in the list applet.how to display the totals of score in form applet?

1059


Explain the steps required to implement the load balancer on siebel servers.

1002


How do you import lov's?

1047


How do you handle error handling in wfs?

1081


What is user properties? Why we using the user properties?

898


Explain how does your b/c and view related?

913


How to improve your performance in views?

904


What are the steps required to set the policy expression?

879


What is complex join? Difference with foreign key primary key join?

918


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

1214


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

922