Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Suppressing Rules stops import (2 Comments)

$
0
0

Topic by Harriet Laker

Hi all,

I have written an import script that imports incidents (it's a one off import). This runs fine if I save at the end like this: 

$incident->save();

But I want to run the import without rules so I want to save like this:

$incident->save(RNCPHP\RNObject::SuppressAll);

However, when I suppress rules no incidents are created. I'm mapping my fields, then saving, then committing.

Can anyone help?

Thanks!


Viewing all articles
Browse latest Browse all 2504

Trending Articles