Duplicate
Custom activity attributes broken if not created from the start
If you first create a custom activity, approve it, then add attributes to it later - these attributes don't show up as constraints, nor can the be updated via API.
This is a massive problem if you'll need to update your custom activity at some point.