Interface IBuiltinTriggerType<TData>

    • Method Detail

      • getType

        default String getType()
        Specified by:
        getType in interface IWorkflowElementTypeProviding
        Returns:
        The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
      • isAvailable

        default boolean isAvailable​(IIsAvailableParams<TData> params)
        Description copied from interface: IElementHandler
        Checks whether this workflow element is available to the given client. If this return false, this action cannot be used in the workflow designer. When attempting to execute a workflow with an unavailable action, an error of type NODE_UNAVAILABLE is thrown. The default implementation always returns true.
        Specified by:
        isAvailable in interface IElementHandler<TData,​WorkflowTrigger>
        Parameters:
        params - The node's data, the entity context, and the current client.
        Returns:
        Whether the workflow element is available to the given client.