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 |
Where you involved in the design phase and what did you do?
Please tell me about the eim tables and base tables are required to your entities?
Explain the flow which you follow in your Siebel application
Explain what is seed data in siebel?
What is the difference between links and multi value links?
Explain what is eapps.cfg file?
when we are use Lonrunning wf in siebel
differnce betwwen seibel and crm architecture
I have created hierarchical picklist. In parent all the values are displayed. When the values selected in the parent its displays proper value in the child picklist?
Tell me is it posible to access more than one database at a single siebel application?
Why would we populate bu_id, while importing product or account data?
What is s_party table?