function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jmojmo 

Workflow being triggered before save.

Subject:
 Workflow is being triggered before save of a case record. 
Description:
 

We have a workflow setup for cases.  It is triggered on new case creation only and sends an email to our internal team.  The workflow is being triggered on display of the new case entry screen before we click on save.

It appears that emails for new cases are getting triggered before we hit the save button as a result of workflow rules that we have set-up. In fact, if I just go into the case page, an email is sent before entering anything, it appears the workflow is being triggered before save of the new record.  Is this the case?
Of course, the resulting email has no info and is useless. If I then complete the case and hit save button, no email is sent out with the full info.

Help...have posted a case with salesforce.com and have not heard anything back yet. 

Help.....anyone seen this?

jmojmo
This is not a bug in the workflow engine.  We just determined it is a result of using the Service Entitlement appexhange app that came out in the Summer release.  When you select an entitlement from the contact record, the code saves the case and then opens it in edit mode.  This is a problem because you cannot use Create workflow triggers on it.