The data object is the object that contains the data that should be replaced in the token. Let say you have a token that should be replaced by the name of the employee you should pass the employee as the data object.
Do note that you can only use tokens over a reference one deep. It is a good practise to have an object where you attach all the other objects you want to use in tokens and then use that object always as Data object.
Can you please explain how to use Helper Objects to store multiple objects data and pass this as input data object to ReplaceEmailTemplateTokens java action with screenshots… Thanks very much in advance!