In one of my previous articles, I’ve explained about Dependent Assembly plug-ins using which multiple assemblies/nuget packages can be seamlessly used in a single plugin assembly.
While exploring further, I’ve noticed a behavior (Issue) that if you register plugin in ‘Asynchronous’ mode, the ‘System Job’ is failing immediately with “Expected non-empty Guid.” error.

Steps to reproduce:
- Create a plugin project using ‘pac plugin init’ (Steps specified here).
- Add a simple plugin class with just a tracing message.

- Register the plugin package and a new plugin step in ‘Asynchronous’ mode.

- As, I’ve registered the plugin on ‘PostAccountCreate’, I went ahead and created a new Account record.
- Since its ‘Asynchronous’ plugin, checked ‘System Job’ which failed with “Expected non-empty Guid” exception.

Reason:
- At the time of this article Dependent Assembly Plugins still in preview feature and this known issue.
- Please refer Known Issues section for more details.
🙂

![[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