Jump to content


Photo

Mass Edit -> Workflow Bug

workflows related relations ray

  • Please log in to reply
5 replies to this topic

#1 jamesGO3D

jamesGO3D

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 05 May 2014 - 06:09 PM

I created an On Save workflow that creates an Opportunity when an Account is saved. When the Accounts are edit/saved individually it works correctly but if you Mass Edit the Accounts the Opportunities are created without the Account name linked in. I have duplicated this in the Zurmo Demo. 

 

If I go to the saveMassEdit function on line 496 and duplicate this code $modelToSave->save(false);  it creates TWO Opportunities with the Account correctly linked within one of the Opportunities. Any pointers to how i can fix this issue?? PLEASEEEE

 

Please help me with a solution to this ASAP, this is currently a huge issue.



#2 raysto

raysto

    Zurmo Team

  • Administrators
  • 1,973 posts

Posted 06 May 2014 - 02:55 PM

Thanks for bringing this up. You can track here.


Ray Stoeckicht
Zurmo Team
Try Zurmo Pro


#3 jamesGO3D

jamesGO3D

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 06 May 2014 - 03:04 PM

Awesome! Thanks Ray, you guys are always on top of things! We have been hard at work customizing Zurmo's functionality to suit our needs, I look forwards to adding quite a few Wiki articles in the near future with more details! 



#4 raysto

raysto

    Zurmo Team

  • Administrators
  • 1,973 posts

Posted 07 May 2014 - 03:51 PM

James, we are having problems reproducing the issue. can you list the exact steps? we need the workflow parameters, including the trigger. then our developers can fix.


Ray Stoeckicht
Zurmo Team
Try Zurmo Pro


#5 jamesGO3D

jamesGO3D

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 10 May 2014 - 03:53 PM

Create Workflow->

On Save Workflow->

Accounts->

Triggers:None->

Actions:Create Opportunity->

Messages:None->

Active and Existing and New Records

 

 

Then if you are to change a field using the Mass Update within the Account on one or multiple accounts and save, the workflow runs but does not link in the Account name within the Opportunity. But when i duplicated the one line of code it created TWO opportunities with the Account properly linked within ONE.

 

 

I just did this in the demo again and got the same exact results.



#6 raysto

raysto

    Zurmo Team

  • Administrators
  • 1,973 posts

Posted 12 May 2014 - 01:18 AM

Thanks for the clarifications.


Ray Stoeckicht
Zurmo Team
Try Zurmo Pro






Also tagged with one or more of these keywords: workflows, related, relations, ray

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users