Name Changes

Several coding-level name changes have been implemented.

Workflow Changed to HybridApp

The phrase Workflow has been replaced with HybridApp, both in the directory name, as well as in the function code.
  • onWorkflowLoad() is now hwc.onHybridAppLoad()

  • customBeforeWorkflowLoad() is now hwc.customBeforeHybridAppLoad()

  • customAfterWorkflowLoad() is now hwc.customAfterHybridAppLoad()

Note: Although the change from Workflow to HybridApp occurs in many places, it is not pervasive. The following in particular:
  • The file and type WorkflowMessage.
  • The global variable workflowMessage in the file Utils.js.

Workflow Expanded to Data Message

The meaning "workflow" message has been expanded to a generic "data"’ message.
  • getWorkflowMessage() is now hwc.getDataMessage().

  • processWorkflowMessage() now includes the namespace hwc.processDataMessage().

    Custom implementations that override processWorkflowMessage() must now override hwc.processDataMessage().
    Note: For a better understanding of this change, examine the implementation in hwc-comms.js.
  • customBeforeProcessWorkflowMessage() is now hwc.customBeforeProcessDataMessage().

  • customAfterProcessWorkflowMessage() is now hwc.customAfterProcessDataMessage().

Debug Logging

logToWorkflow() is now hwc.log().
Note: The legacy global name still exists.

Closing Applications

closeWorkflow() is now hwc.close().
Note: The legacy global name still exists.