Topic by Tony William
Hi all,
I am trying to add a new thread to an existing incident and i am not able to add.
Code
$f_count = count($incident->Threads);
$incident->Threads[$f_count+1] = new RNCPHP\Thread();
$incident->Threads[$f_count+1]->EntryType = new RNCPHP\NamedIDOptList();
$incident->Threads[$f_count+1]->EntryType->ID = 3;
$incident->Threads[$f_count+1]->Text = $standardtxt;
$incident->save();
I am using the above code to do this
can anybody tell me what am i missing here