在Dynamics 365业务流程监听事件中(如OnStageChange/OnStagePreChange),调用formContext.data.save()会导致冲突,引发以下错误:
OnStageChange
OnStagePreChange
formContext.data.save()
Cannot read properties of undefined (reading 'identifier')
Please wait while saving is completed
在阶段监听中不能使用 formContext.data.save()