Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
tip
Info
iconfalse
titleWhat is it for?

AQ_Document_Generate is used for generating a file from a Document element or Page

This service generates a file from a document (or page).

...

...

NameDescriptionDirectionTypeRequiredExample
DocumentThe name of the document as it is stored in studioEncore.InputDocumentFalseNo1Application
PageThe name of the page as it is stored in studioEncore.InputPageFalseNo1-
FileNameThe schema to generate a file name.InputExpressionTrueYes"Application " + TODAY + ".pdf"
FileTypeThe file type that is to be generated.InputStringTrueYespdf (specify without quotes)
ConnectionThe connection2 on which the generated file should be stored.InputStringTrueYesonfilesystem
PersistenceStore a generated document temporary or permanently.InputDomainTrueYesPermanent
CreateInstanceCreate a new instance.InputBooleanTrueYesYes
RelationThe newly created instance will be linked to the given relation.InputRelationFalseNoApplications.RelApplication
UpdateFileIDThe file id that should be overwritten.InputAttributeFalseNo-
FileIDThe attribute that contains the file id.OutputAttributeTrueYesDocument.Id
AuthorizedRolesSelect roles that are authorized for this documentInputRole(s)FalseNoJunior, Senior
CaseId

The id of the case where the document is generated for3

When using the Process-Engine the value of this field is set as process_id in the metadata

When using the Case-Engine, this field must be omitted. It will automatically be filled with the caseId during task execution.

InputExpressionFalseNoControl.CaseId

The Unauthorized exit is triggered when updating a file for which the user does not have one of the required roles.

...

Include Page
Note on Persistence
Note on Persistence