Process notification was not always created via API calls and import scripts

When executing an API call or import script, a process notification was not created when the condition for the process notification was met.