Interface TemplateProcessingBuilder

    • Method Detail

      • variableContainer

        TemplateProcessingBuilder variableContainer​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
        An instance that has variables such as a task, process or case instance. When no variant variables were set and a variable container is passed, the model is inspected to retrieve the variant variables from it. If the variant variables are set explicitely, these variables are ignored.
      • variableContainerSameDeployment

        TemplateProcessingBuilder variableContainerSameDeployment​(boolean sameDeployment)
        Whether the template model for processing should be looked within the same deployment of the variableContainer. Has impact only if variableContainer has been set.
      • payload

        TemplateProcessingBuilder payload​(java.util.Map<java.lang.String,​java.lang.Object> payload)
        the optional payload, if the template is using placeholders to render properly (must be valid according the parameter definition)
      • parentDeploymentId

        TemplateProcessingBuilder parentDeploymentId​(java.lang.String parentDeploymentId)
        Restricts the lookup of the TemplateDefinition using the templateKey(String) to the given parent deployment. This is typically needed when the template service is called for example from the process or case engine to generate a document and it needs to look up the template definition in the same deployment.
      • disableContentItemCreation

        TemplateProcessingBuilder disableContentItemCreation()
        By default a ContentItem is created for types that support it. Calling this method will disable the creation of that conten item.