Issue
Two demand metrics are observed getting created for one update.
Release
All versions.
Cause
The demand state is being updated twice when switching to the next state in the flow, for example from "Submitted" to "Qualify".
Resolution
This is generally due to a custom after update business rule that has current.update().
Deactivating the business rule resolves the issue of the double update, and only one demand metrics is created.