Symptoms
In our instance we are getting an error starting a workflow from the smartforms, when the workflow contains an AD event. When you click on configure after selecting the workflow, an error message pops up "Object reference not set to an instance of an object.".
I know the error is because of AD event, because I published the same workflow without the AD create user event, and I was able to configure it from smartforms. However as soon as I added the AD event the smartform started showing the error.
I created another workflow, and tested it as well and it also was not accessible from smartforms to be configured when AD event was added.
Diagnoses
The issue is related to checking the "Add user to the reference field" checkbox. If this isn't checked, the error does not show up.
Resolution
Unchecking the "Add user to the reference field" checkbox allows you to configure the rule correctly in Smartforms.