WorkflowSettings

class WorkflowSettings(title=None, icon=None, icon_color=None, icon_bg_color=None, url=None, url_title=None, description=None)[source]

Bases: object

Used to customize the appearance and behavior of the workflow node.

Parameters:
title : Optional[str]

Title of the node. It is displayed in the node header. Title is formatted with the <h4> tag.

icon : Optional[str]

Icon of the node. It is displayed in the node body. The icon name should be from the Material Design Icons set. Do not include the ‘zmdi-’ prefix.

icon_color : Optional[str]

Color of the icon in hexadecimal format.

icon_bg_color : Optional[str]

Background color of the icon in hexadecimal format.

url : Optional[str]

URL to be opened when the user clicks on it. Must start with a slash and be relative to the instance.

url_title : Optional[str]

Title of the URL.

description : Optional[str]

Description of the node. It is displayed under the title line. It’s not recommended to use it for long texts. Description is formatted with the <small> tag and used to clarify specific information.

Methods

Attributes

as_dict

description

icon

icon_bg_color

icon_color

title

url

url_title