在Dynamics 365业务流程监听事件中(如OnStageChange/OnStagePreChange),调用formContext.data.save()会导致冲突,引发以下错误:

  1. Cannot read properties of undefined (reading 'identifier')

  2. Please wait while saving is completed

 

在阶段监听中不能使用 formContext.data.save()