This section describes how to configure the service operations
that the example process diagram includes. The operations in the
example process diagram build on the results of previous operations.
Therefore, the output data from one operation is used as the input
data of the subsequent operation. Specifically, a document variable
is used to store the PDF form that is passed between operations.
This variable is also configured as output data for the process.
The renderPDFForm operation requires the form and form data as
input:
An xfaForm variable is configured to reference the XDP
file that is stored in the repository. This variable is used as
the value of the Form To Render property of the operation.
The document variable that stores the initial form data is
used as the value of the Form Data property.
The PDF form that the renderPDFForm operation creates is stored
in a document variable. This document variable is also used as input
for the Apply Policy operation so that the PDF form is policy-protected:
The document variable is used as the value of the Input
PDF Document property of the operation.
The name of the policy that was created using Administration
Console is used as the value of the Policy Name property of the
operation.
The policy set to which the policy belongs is used as the
value of the Policy Set Name property of the operation.
The resulting policy-protected PDF form is stored in the same
document variable that was used as the operation’s input. The document
variable is then used as input for the Certify PDF operation:
The document variable is used as the value of the Input
PDF Document property of the operation.
The alias of the credential that was imported to LiveCycle
using Administration Console is used as the value of the Alias property
of the operation.
The certified PDF form is stored in the same document variable
that was used as the operation’s input. Because the document variable
is configured as output data for the process, when the process is
complete, the policy-protected and certified PDF form is returned
to the user that invoked the process.