How to add/change AssignedSLAInstance from ConnectPHP?
Content
Hi
I spent several days trying to figureout how to add/changed AssignedSLAInstance from ConnectPHP 1.2 but in vail. There is no error message, however, the SLA is not changed at all.
I tried both: new SLAInstance and new AssignedSLAInstance. With SLAInstance, I tried to set the ActiveDate as well. I tried to set the NameOfSLA with the sla_id, sla_set or with the Name.
Very much appreciate some guidelines or working codes on this.
Thank you and with best regards
Version
January 2015Code Snippet
$sla = new RNCPHP\SLAInstance(); //Or AssignedSLAInstance() $sla->NameOfSLA = new RNCPHP\NamedIDOptList(); //Or NamedIDLabel() $sla->NameOfSLA->ID = 3; //Or ->Name='Premium' $incident->AssignedSLAInstance =$sla;
0