title: How can I get the entity type code (or name) for the primary entity in a custom workflow activity?
body: <p>I need to get either a custom entity's type name (e.g. new_myspecialentity) or its type code (e.g. 1036) form within a custom workflow activity. Is there anyway to do this?</p>