# Functions
CheckAndExecuteTemplate will execute the workflow template if given workflow components contains a template instance.
CreateAuditAdd create an audit for template add.
CreateAuditInstanceAdd create an audit for template instance add.
CreateAuditInstanceUpdate create an audit for template instance update.
CreateAuditUpdate create an audit for template update.
Delete template in database.
DeleteInstance for workflow template in database.
DeleteInstanceNotIDAndWorkflowID removes all instances of a template where not id and workflow id equal in database.
Execute returns yaml file from template.
GetAndLockBulkByID returns an bulk from database for given id.
GetBulkByIDAndTemplateID returns the workflow template bulk for given id and template id.
GetBulksPending returns the workflow template bulks with pending status.
GetInstanceAuditsByInstanceIDsAndEventTypes returns all workflow template instance audits by instance ids and event types.
Insert template in database.
InsertAudit for workflow template in database.
InsertBulk task for workflow template in database.
InsertInstance for workflow template in database.
InsertInstanceAudit for workflow template instance in database.
LoadAll workflow templates from database.
LoadAllByGroupIDs returns all workflow templates by group ids.
LoadAllByIDs returns all workflow templates by ids.
LoadAuditByTemplateIDAndVersion returns workflow template audit by template id and version.
LoadAuditLatestByTemplateID returns workflow template latest audit by template id.
LoadAuditOldestByTemplateID returns workflow template oldtest audit by template id.
LoadAuditsByTemplateIDAndVersionGTE returns all workflow template audits by template id and version greater or equal.
LoadByID retrieves in database the workflow template with given id.
LoadBySlugAndGroupID returns the workflow template for given slug and group id.
LoadInstanceByIDForTemplateIDAndProjectIDs returns a workflow template instance by id, template id in project ids.
LoadInstanceByTemplateIDAndProjectIDAndRequestWorkflowName return a workflow template instance by template id, project id and request workflow name.
LoadInstanceByWorkflowID returns a workflow template instance by workflow id.
LoadInstanceByWorkflowIDs returns a workflow template instance by workflow ids.
LoadInstancesByTemplateIDAndProjectIDs returns all workflow template instances by template id and project ids.
LoadInstancesByWorkflowIDs returns all workflow template instances by workflow ids.
Parse return a template with parsed content.
Pull writes the content of a template inside the given writer.
Push creates or updates a workflow template from a tar.
Update template in database.
UpdateBulk task for workflow template in database.
UpdateInstance for workflow template in database.
UpdateTemplateInstanceWithWorkflow will perform some action after a successful workflow push, if it was generated from a template we want to set the workflow id on generated template instance.
# Variables
LoadInstanceOptions provides all options on workflow template instance loads functions.
LoadOptions provides all options to load workflow template.
# Type aliases
LoadInstanceOptionFunc for workflow template instance.
LoadOptionFunc for workflow template.