Page 1 of 1

Update values with out reopening.

Posted: Wed Jan 22, 2020 1:38 am
by Vysakh
Hi,
Can any one tell me how to edit the value of a variable of a completed case with out reopening?

Re: Update values with out reopening.

Posted: Thu Jan 23, 2020 12:31 am
by programerboy
Hi,
You can use this code to load and update another case data:
Code: Select all
$c = new Cases();
$aCase = $c->loadCase($your_case_id, $your_case_del_index);
$aCase['APP_DATA']['your_field'] = @@your_value;
$c->updateCase($caseId, $aCase);
https://pmlearning.info
Thanks