BPM 6.2

Creating Create Groovy script for access in user defined functions of script editor

Hi,

I am creating a groovy function below from Development->Manage Groovy script...->Create... and the function runs properly although it returns NULL.

Now I would like to have access to that function in the function list of the groovy script expression editor. I can't see my function in the user defined category at the moment. How does this work?

import groovy.sql.Sql

def function_name(p_SCENARIO_ID){
def process_status =""
def process_id =-1
def message = "no run"

Notifications