Ever wondered how to get place a status messages into the “string of pearls” (to quote Rob G. here) / end user workflow output:
Put this at the end of the Cloupia/Custom workflow script:
ctxt.setTaskStatusMessage("Created lalala....." + vs);
Are you sure you want to delete this document?
Retrieving data ...