Versions Compared

Key

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

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

Tip
A Note on persistence has been added to clarifiy how the persistence parameter will work in 11. The behavior changes compared to 10.

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

...

...

This service has the following comparable components:

...

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.

...

3) The CaseId is used to add to the Trace Engine and to create an event on the case's timeline. It was added in Blueriq 12.12.

Note on persistence

Include Page
[Editor] Note on Persistence[Editor]
Note on Persistence