Pankaj khurana - 2013-06-11

Hello Denis sir,

i am working on \www\web\env-production\itop-incident-mgmt-itil\model.itop-incident-mgmt-itil.php.

MetaModel::Init_AddAttribute($auto=new AttributeExternalKey("auto_assignement", array("targetclass"=>'Service', "allowed_values"=>new ValueSetObjects("SELECT Service WHERE auto_assignement='assigned'"), "sql"=>'service_id', "is_null_allowed"=>true, "on_target_delete"=>DEL_MANUAL, "depends_on"=>array('service_id'))));

its works fine,i checked it display service whose value auto_assignement='assigned'

but now need is if select service and its auto_assignement='assigned' then its status changes.

Please guide me how can i do this work...

Thanks and Regards
Pankaj