Update: In DocuWare workflows, you can extensively edit and adjust data using VBA scripts. In the documentation all supported functions are described.
Use the script language, for example, to remove leading spaces from values, to determine the number of days between two dates, or to check whether a variable is empty or filled.