2019.2

Table Of Contents
Generating Web output from Workflow
Generating Web output from Workflow requires you to send a template with a Web context to
Workflow; see "Sending files to Workflow" on page457.
Next, you will have to create a process in Workflow that serves one or more web pages; see
"Web processes with OL Connect tasks" on page222.
Note
Athough Workflow can serve both static and dynamic resources to a web browser, it is not meant to
be used as a fully featured web server as it is not built for responsiveness nor guaranteed uptime. It
is recommended to use a common web server (for example, IIS or Apache) to serve your contents
and to let Workflow process things only it can do.
For more information on how to serve HTML and PDF generated by Connect through IIS, watch
the Connect with Evie - IIS series.
Aborting content creation
You may want the content creation process to be aborted in certain situations; for example,
when a template script fails to load remote content. To abort the content creation process, you
may raise a fatal error from within a script in the template; see "fatalError(message)" on
page1329.
When a script calls this function in Preview mode, the script that triggers it is marked with an
error icon in the Scripts pane, and the given message is displayed in a hint.
When generating output from the Designer, the Designer will log the error and display an error
dialog with the given message. Content creation is aborted.
When generating output from Workflow, the entire job fails. Workflow will log the error and
execute any follow-up actions that are defined in the On Error tab of the respective OL Connect
Content Creation task (All in One, Create Email Content, Create Print Content, Create Preview
PDF, Create Web Content and Render Email Content). For more information about how to set
up follow-up actions, see Using the On Error tab in the Workflow Help.
Page 1451