Scoped Workflow - warn(String message, Object args)

Adds a warning message to the log.

Table 1. Parameters
Name Type Description
message String The message to add to the log.
args Object Arguments to add to the message.
Table 2. Returns
Type Description
String The logged message

var loggedMessage = workflow.warn("Check your permissions.");