I have a custom workflow activity being called by a workflow triggered by an update of certain fields of an entity in D365 Online instances. In my development instance all works as it should and the "PreBusinessEntity" exists in the Preimage property of the workflow execution context. However, when I move the workflow and custom activity to our test instance the "PreBusinessEntity" no longer exists. Has anybody seen this behaviour before or able to give me some hint as to why it would be so?
So far I have tried deleting the custom activities assembly from test and redeploying it manually through the plugin registration tool, then rebuilding the workflows. That makes no difference. I also appreciate that, as far as I can tell, the "PreBusinessEntity" Preimage on custom workflow activities is still an undocumented feature and not officially supported but since it has been there since the year dot I'm a little confused why it has suddenly disappeared on me in this one instance.
The custom workflow activity is also really simple. It just takes the execution context and sends it to an Azure Service Bus queue via an endpoint registration. Tracing within the activity confirms that the Preimage doesn't exist before the context is added to the queue, so it's not something special with the endpoint registration itself.
Thanks in advance for any information.
*This post is locked for comments
I have the same question (0)