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 |
Explain how to resolve foreign key in eim?
How do you create extension table to an interface table in Siebel?
how to invoke workflows using scripting
What is if table in eim?
Explain how to specify a view to be displayed as aggregate view in siebel 7.7?
What is a Link, & different types of Link in Siebel?
12 Answers IBM, TCS,
What is constrainted picklist?
What is applet toggle how many types are there?
Explain what is resonate?
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?
What is the difference between eim and eai?
How we will create drilldown in form applet?