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 |
i have two business components but iwant to make visible applet to only one business component
What is seed data in Siebel?
Hirarchical pick is there in one applet, parent is "country" in this field "IND, USA" r there and child field "City" in this Hyd,Delhi, Bang for india and Newyork, washington for usa .Now if i select ind then Hyd... shown in child field then i select suppose hyd, now come parent field if i select usa & tabout the field still i see "Hyd" in child field unless i select the one of the city related to usa even though i check the immidiate postchange property in field level then how to i see it is Blank or related values
What is siebel?
What is Virtual BC?what is the use of vbc?
4 Answers Oracle, PF Enterprise, Symphony,
what is the maximum number of applets can be there in a view?
What is the use of virtual bc?
What is horizontal and vertical in siebel?
Explain how extension table is related to base table?
What does business component user mode indicate?
Explain in brief about siebmtsh.exe.
Explain if gateway server is not present cant we do load balancing?