I want to create a CWA that passes & returns the RegardingObjectID of an Activity, ParentCustomerId of Contact and CustomerId of Incident (Case). All of these are EntityReference attributes, so according to the MSDN docs a ReferenceTargetAttribute needs
to be specified. But what entity do you use? Customer can be account or contact, whilst regardingobjectid can link to a whole range of entities.
The Docs say that only 1 RegardingObjectId can be specified, but clearly we don't know in advance the entity name & we don't want to restrict our CWA to just one of the entity types.
So is it impossible to develop a CWA passing these 2 types of attributes?
You could hack around in the workflow for account/contact, but not for regardingobjectid.