SalesforceLabs / AnimalShelterStarter

Animal Shelter Starter provides the foundation to use Salesforce for managing animals, treatments, conditions, housing and related activities.
16 stars 10 forks source link

Movements Flow not showing Units #78

Closed GeekStewie closed 2 years ago

GeekStewie commented 2 years ago

When using the Movements flow, the Unit Selection is no longer showing available units to move the animal. Wondering if this is a known issue and if you know how we can resolve this?

GeekStewie commented 2 years ago

From v1.8 onwards, historical records added before v1.8 release may not appear if the value for capacity and/or allocation is null, the default should be 1.

On the location object, check and update the following fields:

The flow checks for units, where the result of (If( animalsheltersCapacityc !=0, animalsheltersCapacityc - animalsheltersAllocationc, 0)) is greater than 0.

Update any previous records and it should then work as expected.