In Metastorm you can draw an action where the source and destination stages are the same. Such an action is called a loopback action.The action type can be any action except a Rendezvous action (More on that in future quick tips).
A loopback action is any action that updates a folder, but does not move it on to a different stage. By default, when a loopback action is taken on a folder, OpenText MBPM does not regenerate the list of users who have the folder on their To Do or Watch lists. It simply updates the details for this folder in each list. Using the properties on the Roles tab for a loopback action, you can modify this functionality so that the To Do and Watch lists are regenerated. Ok, that explains the basics of loopback actions. But how can we show the user the previous Alert Message in the ToDo and Watch list? Within the Metastorm Designer you can use the method GetEarlierMessage().
This method within Metastorm returns the alert message associated with a previous action on the current folder. If you want to retrieve the last action message you need to select the Method from the Expression Builder (Folder Information Menu) and pass in the index. The complete Method call would then look like:
GetEarlierMessage(ProcessContext.FolderActionCount-1)
To actually make that work to answer the client's question you need to call this code from the loopback actions's Message property: