Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Condition Key to Be passed on Creating New condition in AME

Jithin ThomasApr 21 2016 — edited Apr 21 2016

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..:)

Comments
Post Details
Added on Apr 21 2016
0 comments
723 views