I've read tons of posts and blogs on the argument, but I'm still looking for an effective way to fulfill my requirement with the minimum effort (and without substancial modifications on standard).
Shortly: The requirement is to add to any approval task text in the Inbox, which has typically the following pattern:
"Approve &BOR_OBJECT.VERSIONTYPENAME& Number &WF_PDO.DOCUMENT_ID&"
an additional variable clause, which represents the description of the document. Hence, I'd like to have the text as follows:
""Approve &BOR_OBJECT.VERSIONTYPENAME& Number &WF_PDO.DOCUMENT_ID& - &DESCRIPTION&".
Problem: the DESCRIPTION field is not available in the WF Container, hence I cannot simply replace the Work Item text in PFTC because a proper binding would be missing. Alas, it's not that clear to me how to extend the WF Container and where should I fill these extended attributes (programmatically, in ABAP) in case; the "clone the WF standard task into a custom one and replace" approach would be very time-intensive in our context due to the huge amount of no regression test that it would require.
I'd hope a BADI could help me out redefining dynamically workitems' texts, but it seems no standard way has been defined to accomplish such a requirement.
Any suggestion would be highly appreciated!