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 |
What is the difference between links and multi value links?
What are the steps for creating a mvg?
Define a Siebel file system?
How to call external webpage from siebel application?
defination of siebel crm?
Differences btn 1:M and M:M Link?
How to give Access controls to the forms, EX: Manager should view all forms, but salesrep can view only "salesview" form in Siebel?
when i click on first time ststic picklist valus should be 4 values and if i click next time i want to see 6 picklist with diff values for that same field.How will u configure
Explain how to import list of values?
Explain what is nameserver? What does it do?
how to create constain picklist?process suppose country field is there and state field is there,when user selected Australia in country,i have to display aus related states only states field? pls senme ans to (selvarajb.tech@gmail.com)
how to dispaly ascendimg in pick list