You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to see if an record does not exist

Accepted answer
5
Views
5
Comments
edited Jul 17, 2018 8:52AM in Customer Portal 5 comments

Content

Hi,

At the moment to retrieve an incident I use the following:

$inc = RNCPHP\incident::fetch($v);
$inc->CustomFields->c->open = $time;
$inc->save(RNCPHP\RNObject::SuppressAll);

However, how would I check if one exists at all, and if not, do something else? Seems fairly simple/obvious but I've just woken up!

Thanks,

HH

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!