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 |
Give me an example of business scenario and explain implementation with workflow?
No of clinets in Siebel applications?
Tell me what happens if you create an employee in siebel application and forget to create?
What is the relationship between opportunity and account?
Name the databases you have worked on?
Can a person from BPO industry learn seibel CRM as it is a Customer relationship managment based industry, if yes what are the jobs aspects of learning the course.?
In MVL without search specification can you filter the data? any one who can assist me with a step by step procedure
What is caching in siebel?
How many type of siebel data model extensions are there?
Explain how to run genbscript.exe?
Explain pick applet, dynamic picklist: which will be better if performance issue is considered?
what is the difference between join and link?