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

When do you use genbscript.exe?

1088


Explain how to resolve foreign key in eim?

988


What is the difference between an organization and division in Siebel?

1082


How to edit the joined fields values in join?

1003


Explain how to assign responsibilities to employees in siebel?

1028


What is the use of detailed category in configuration?

964


What is detailed category?

1036


What is the difference between vbc and ebc in siebel?

1520


In an applet one custom button is created on clicking that button all the fields get validated and then message should be displayed on the other applet as the corresponding field values are empty

2160


What is nameserver?

1062


How can you do the data cleansing in eim?

1100


What are the functionalities performed by siebel?

1053


when do you use "caninvoke(false/true)" method in scripting?

1065


Why we using the user properties?

1101


how would we give access to data using positions

1960