We've added a few Javascript workflow default objects for Ragic developers to use when developing workflow programs. You can access them using the names specified below, they are objects binded into the workflow engine with these names. No variable declaration necessary.
response : Set the form response status and message when the entry is saved. Status including successful save, save with warning, needs confirmation (not saved yet), validation failed (not saved).
user : Retrieve information on the log in user, create new users to the account with workflow programs.
mailer : Send e-mail with workflow program.
For more information please see the document of our workflow javascript API.