how to invoke workflows using scripting
Answers were Sorted based on User's Feedback
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 |
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 |
In the Siebel screens, what are the different fields available and what kind of validation will you be doing for that.
Suppose in the list applet field we have 10 records but I have to display only 2 records in list applet,what is the process should I follow?
How to create a Primary foriegn key because there is no PFK in account for Opprtunity ,it is 1:M relationship
differnce betwwen seibel and crm architecture
How do you display the no. of records in a picklist (combo box/drop down) not the records in the pickapplet, in just 3 rows and not 5 rows(which is the default)?
What is difference between join specification and join definition?
Explain what is if table in eim?
how to create constain picklist?process suppose country field is there and state field is there,when user selected Australia in country,i have to display aus related states only states field then following its corresponding cities for the next fields orderly..I got the solution.Please try that or else mail to ganesh.ramasamy@yahoo.com
Explain how is load balancing maintained in siebel?
What is the procedure to configure the static caching using the content group?
Explain the use of catch in escript?
What will happen after the content groups gets created?