Script functions reference > Script functions in alphabetical order > C > CallProc

CallProc
Syntax
CallProc(str_proc_name);
str_proc_name
Description
Invokes a Process in the Message from which it is called. For example, you can deselect the Select automatically option in the Process Runtime settings, and use the CallProc function to select a Process based on a variable in the input data. The Process invoked must be included in the Message configuration from which it is called.
The CallProc function can be used in Before/After Message or Before/After Process scripts. It is not supported in Post-processor scripting.
Returns
A number indicating whether the Process was invoked successfully.
0
-1
Example
callproc("invoice_process");
OpenText StreamServe 5.6 Updated: 2013-03-01