Hi all..
I am working with Oracle Approval Management System. I want to use AME_CONDITION_API.create_ame_condition to create a new condition. A sample code is written below
declare
p_condition_id number;
p_con_start_date date;
p_con_end_date date;
p_con_object_version_number number;
p_stv_start_date date;
p_stv_end_date date;
p_stv_object_version_number number;
begin
AME_CONDITION_API.create_ame_condition
(p_validate => false
,p_condition_key =>0
,p_condition_type =>'post'
,p_attribute_id =>null
,p_parameter_one =>'any_approver'
,p_parameter_two =>'SYUHOV'
,p_condition_id => p_condition_id
,p_con_start_date => p_con_start_date
,p_con_end_date => p_con_end_date
,p_con_object_version_number => p_con_object_version_number
,p_stv_start_date => p_stv_start_date
,p_stv_end_date => p_stv_end_date
,p_stv_object_version_number => p_stv_object_version_number
);
end;
I want to know what should be the value of p_condition_key that to be passed and from where we get that value.
Please help..
Thanks in advance..:)