Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4S: Customer code can throw off V4S trigger calculations #337

Open
davidhabib opened this issue Jan 20, 2018 · 2 comments
Open

V4S: Customer code can throw off V4S trigger calculations #337

davidhabib opened this issue Jan 20, 2018 · 2 comments

Comments

@davidhabib
Copy link
Contributor

We've had a few customers reporting that their Total Volunteers statistics on a shift get out of sync with the actual Volunteer Hours. One customer was able to pinpoint when it happened, due to their own workflow also updating the Hours. We should investigate whether we can make the V4S trigger(s) more robust to deal with being called multiple times in the same context.

from Peter Allen (Geva Theatre Center, Inc.)

  1. I've created additional custom fields on the Hours object: Position (pick-list), Grade (pick-list), Requires Followup (checkbox), and Venue (formula).
  2. When an Hour record is created, the Grade is defaulted to "Meets Expectations."
  3. When a Volunteer changes their Hour.Status from Confirmed to Cancelled, the Total Volunteers roll up was triggered.
  4. The roll up was then also triggered (I assume) by a Workflow rule that I had in place, which changed the Grade field to blank upon the Hour.Status being changed to Cancelled.
  5. Once I deactivated this workflow, the problem of the roll up "double dipping" disappeared.
@davidhabib
Copy link
Contributor Author

**lurch: add

@LurchTheButler
Copy link

Tracking W-022349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants