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 |
In scripting how you enable Button,and if I click the button popup mesage should come.
Explain why would we populate bu_id, while importing product or account data?
what is client business service?
Explain what is the maximum number of applets can be there in a view?
I need sibel crm testing questions
What is siebel admin mode view? How to create this?
By what way do you give Responsibilities to employees in Siebel ?
What is symbolic url in siebel?
What is the purpose of 1:m extended table?
I checked out one object from server to my local, after checking out my local Database and userid has been corrupted. now i want to release the lock. How can i do this, can any one help me regarding this?
Explain how does your b/c and view related?
How would you import international phone numbers using eim in siebel realtime?