Widget development - Passing Objects to a microflow.
Hello Forum, I've created a widget which passed objects to a microflow. however its very inconsistent. some objects can be passed successfully to the microflow, others are not passed at all hence the microflow is executed with errors.
When I've run into this issue, it's either a permission issue for the user (no access to an entity), or the microflow call is coded incorrectly in the widget. So, check permissions first, and if that's not it, share your code here and we can help you troubleshoot.
It's not easy to pinpoint your issue based on what you describe. There are a few things that I can think of:
Permissions on Entity
The object you are trying to pass to the microflow is not the same type of entity as the input parameter of the microflow
If you have your widget code on Github (or share it on Github as a Gist), I am happy to have a look at it.