Update CI version Automatically

I want to update the CI version automatically when we close a release record 

the naming convention will be like displayName_Location_Date, this will be from cm3r table to device file .


any help to do this  ?


Parents Reply
  • Trigger for cm3r table  (after update), name it like cm3r.a.u.Add2Device

    if (!system.functions.same(record.status,oldrecord.status) && record.status=="Closed")
    	var TableDevice = new SCFile("device");
    	if (TableDevice.doSelect("logical.name=\"" record.asset "\"") == RC_SUCCESS)
            TableDevice.version= record.releaseversion

    That's mean if the change status is changed and equel "Closed"

    Then update Device table with data from cm3r table.