AmericaSCORESBayArea / AmericaSCORESBayArea/salesforce-data-api

Support for Wavier and other Regional content to be delivered based on Region and Date

Open
#156 0 comments 0 reactions 0 assignees View on GitHub
Critical/Blocking help wanted
Dominant language
DataWeave
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

App Requirements

- Waiver and Registration flows in the Web Reg and Coach Apps need to select the proper record for user to accept/apply
- Regions are subject to change over time as Scores expands and the option is driven by a Global Picklist in Salesforce
- Apps need to stay in sync with these options

System
- API should provide an endpoint to populate active Regions where needed
Some Use cases:
- find region based on an Account
- Populate a list of Regions
- Populate a list of Accounts (schools) based on Region
- Retrieve the correct Waiver for a student or coach based on Region and Date (Waiver.Waiver_Active_Start__c, Waiver.Waiver_Active_End__c)

Example Query for Picklist Values:
SELECT Id, Value, Label, DurableId, EntityParticleId, ValidFor FROM PicklistValueInfo WHERE EntityParticle.EntityDefinition.QualifiedApiName = 'Account' AND EntityParticle.QualifiedApiName = 'Region__c' AND isActive = TRUE LIMIT 100

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.