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 |
By what way do you control Visibility in Siebel ?
What is Event Logging?
What are the different views available in Siebel?
scenario where we use ForwardBackward & ForwardOnly in Execute Query in Scripting
what is Profile attribute?
Explain what is resonate?
How to create a Primary foriegn key because there is no PFK in account for Opprtunity ,it is 1:M relationship
Explain how to edit the joined fields values in join?
Explain if gateway server is not present cant we do load balancing?
hi,i would like to know the what are the questions they will ask for siebel testing. i need question for only siebel testing only
What is constrainted picklist?
Suppose there is a search spec on bc, and applet both. Explain the execution of this scenario?