We encountered below exception from a custom workflow activity in our Dynamics CRM on-prem 8.2.3 application.

Reason and Fix:
- Error message states that the ‘Output’ argument defined in custom workflow activity was returning ‘Null’.
- I have below output argument of type ‘Lookup’ defined in my custom workflow activity but it always having value.

- Error was misleading in our case, as our debug concluded that the Output argument was always having value.
- After spending considerable time, we figured out that the issue was due to a change at CRM website level.
- Our IT team enabled SSL and added https binding to our dynamics website which caused this issue.
- We had to set the custom workflow assemblies Isolation mode to ‘Sandbox’ to get the workflow running.

Note:
- This issue occurred only on UAT server but not on DEV instance, which also had SSL enabled same time.
- Issue could be due to security policies enabled between the CRM application server and platform server on UAT.
🙂

![[Step by Step] Beginner : Create a PCF control and add it to a custom page](https://rajeevpentyala.com/wp-content/uploads/2024/12/image-49.png)

Leave a comment