Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Microflow

Hierarchy

Implements

Index

Constructors

constructor

Properties

allowConcurrentExecution

allowConcurrentExecution: boolean

allowedModuleRoles

allowedModuleRoles: IList<IModuleRole>

In version 7.23.0: added public

allowedModuleRolesQualifiedNames

allowedModuleRolesQualifiedNames: string[]

applyEntityAccess

applyEntityAccess: boolean

concurrencyErrorMessage

concurrencyErrorMessage: Text

concurrencyErrorMicroflow

concurrencyErrorMicroflow: IMicroflow | null

concurrencyErrorMicroflowQualifiedName

concurrencyErrorMicroflowQualifiedName: string | null

container

container: StructuralUnit

containerAsFolderBase

containerAsFolderBase: FolderBase

containerAsModule

containerAsModule: Module

documentation

documentation: string

excluded

excluded: boolean

flows

flows: IList<Flow>

id

id: string

isLoaded

isLoaded: boolean

markAsUsed

markAsUsed: boolean

microflowActionInfo

microflowActionInfo: MicroflowActionInfo | null

In version 8.0.0: introduced

microflowReturnType

microflowReturnType: DataType

In version 7.9.0: introduced

model

model: IModel

name

name: string

objectCollection

objectCollection: MicroflowObjectCollection

qualifiedName

qualifiedName: string | null

returnType

returnType: string

The value of this property is conceptually of type dataTypes.LegacyDataType.

In version 7.9.0: deleted

structureTypeName

structureTypeName: string

unit

unit:

Static structureTypeName

structureTypeName: string

Static versionInfo

Methods

allProperties

asLoaded

  • asLoaded()
  • Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)

    • If invoked without callback, it checks whether the properties are available or it will throw;
    • If invoked with callback, it will load the data from the server if needed, and then invoke the callback.

delete

  • delete(): void

findElementById

Protected getContainerAs

  • getContainerAs<T>(containerType: any): T

load

  • load(callback: function, forceRefresh?: boolean): void
  • load(forceRefresh?: boolean): Promise
  • Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)

    • If invoked without callback, it checks whether the properties are available or it will throw;
    • If invoked with callback, it will load the data from the server if needed, and then invoke the callback.

    Parameters

    • callback: function
        • (elem: ): void
        • Parameters

          • elem:

          Returns void

    • Optional forceRefresh: boolean

    Returns void

  • Parameters

    • Optional forceRefresh: boolean

    Returns Promise

loadedProperties

publicProperties

toJSON

traverse

  • traverse(visit: function): void

traverseFind

  • traverseFind<T>(visit: function): T | null

traversePublicParts

  • traversePublicParts(visit: function): void

Static createIn

  • Creates a new Microflow unit in the SDK and on the server. Expects one argument, the projects.IFolderBase in which this unit is contained.

    Parameters

    Returns Microflow

Generated using TypeDoc