Common Tools
Accessing the Sidebar Menu
After logging into AppMint Web Builder, you can access the MintFlow Sidebar Menu by following these steps:
- Navigate to the Application Dropdown:
- Once you're logged in, locate the Application dropdown from the main dashboard.
Click on the MintFlow Plus (+) Icon:
- In the dropdown, click on the MintFlow icon (+) to open the MintFlow Designer interface.
Sidebar Menu Location:
- Once inside the MintFlow Designer, all the main controls and features are organized in the sidebar located on the left-hand side of the screen.
- The sidebar provides quick access to all the available menu items for designing and managing your workflows.
Common Dropdown:
- Includes general-purpose tools such as Inject, Input, Log, Status, Stop, and Error.
Inject Feature
The Inject feature, found under the Common dropdown in the MintFlow Sidebar Menu, is used to inject specific values or data into a workflow. It allows users to introduce variables, configurations, or initial data at any point within a flow.
How to Use the Inject Feature
Access the Inject Feature:
- Navigate to the Common dropdown in the MintFlow Sidebar Menu and select the Inject feature.
Drag the Inject Feature into the Workflow:
- Drag and drop the Inject feature into the flow designer area to begin configuration.
Configure the Inject Feature:
- Expand the Inject Node: Click on the Expand icon to open the configuration panel.
- Set the Target: Choose either flow or data as the target.
- Name the Inject: Provide a meaningful name in the Name Input field.
- Set the Format: Select the appropriate format such as String, Number, Boolean, JSON, Timestamp, or Expression.
- Set the Value: Input the desired value that aligns with the chosen format.
Example Use Case
For example, to inject a status into the flow:
- Drag the Inject feature from the Common dropdown.
- Set the target to flow.
- Name the inject operation as "Set Status".
- Choose String as the format and set the value to "Active".
- This inject node will now introduce the "Active" status whenever triggered.
Input Feature
The Input feature is another essential tool available under the Common dropdown. It allows users to input specific data or content into the flow. This data can be in various formats, such as text, JSON, or HTML.
How to Use the Input Feature
Access the Input Feature:
- In the MintFlow Sidebar Menu, navigate to the Common dropdown.
- Locate and select the Input feature.
Drag the Input Feature into the Workflow:
- Drag and drop the Input component from the Common dropdown onto the plain canvas area on the right side of the interface.
Configure the Input Component:
After dragging the input node, click on the Expand icon to open the configuration panel for the input component.
Set the Format:
- In the configuration panel, you can set the format of the input. Supported formats include:
- Text: For plain text input.
- JSON: For structured data input in JSON format.
- HTML: For entering HTML code as input.
- In the configuration panel, you can set the format of the input. Supported formats include:
Enter the Content:
- In the Value textbox, enter the specific content based on the format you’ve selected.
Example: HTML Input
To configure an input component with HTML data:
- Drag the Input component from the Common dropdown into the flow.
- Click the Expand icon to open the configuration panel.
- Set the Format to HTML.
- In the Value textbox, input your HTML code. For instance:
Welcome to MintFlow
This is a test HTML content injected into the flow.
- This HTML code will now be part of the flow, ready to be processed or manipulated in the subsequent steps.
Log Feature
The Log feature is used to record events or messages for monitoring and debugging purposes.
How to Use the Log Feature
Access the Log Feature:
- In the MintFlow Sidebar Menu, navigate to the Common dropdown.
- Locate and select the Log feature.
Drag the Log Feature into the Workflow:
- Drag and drop the Log component from the Common dropdown into the workflow area.
Configure the Log Component:
- Expand the Log Node: Click on the Expand icon to open the configuration panel.
- Set the Log Level: Choose the log level from the following options:
- Info: For general informational messages.
- Debug: For detailed debugging information.
- Error: For error messages only.
- All: To capture all types of logs.
- Enter Log Message: Input the message you wish to log.
Example Use Case
To log an error message:
- Drag the Log feature into the workflow.
- Expand the node and set the log level to Error.
- Enter an appropriate error message such as "Failed to process data".
Status Feature
The Status feature is used to update or monitor the current status within a workflow.
How to Use the Status Feature
Access the Status Feature:
- Navigate to the Common dropdown in the MintFlow Sidebar Menu.
- Select the Status feature.
Drag the Status Feature into the Workflow:
- Drag and drop the Status component into the workflow area.
Configure the Status Component:
- Expand the Status Node: Click on the Expand icon to open the configuration panel.
- Set the Status Update: Choose the status update from options like Pending, In Progress, Completed, etc.
Example Use Case
To update the workflow status:
- Drag the Status feature into the workflow.
- Expand the node and set the status update to In Progress.
Stop Feature
The Stop feature allows you to control the flow execution by stopping or pausing operations.
How to Use the Stop Feature
Access the Stop Feature:
- In the Common dropdown, locate and select the Stop feature.
Drag the Stop Feature into the Workflow:
- Drag and drop the Stop component into the workflow area.
Configure the Stop Component:
- Expand the Stop Node: Click on the Expand icon to open the configuration panel.
- Set the Stop Type: Choose from options such as Stop, Start, Pause, Transfer, or End.
Example Use Case
To pause the workflow:
- Drag the Stop feature into the workflow.
- Expand the node and set the type to Stop.
Error Feature
The Error feature is used to handle errors and exceptions in a workflow.
How to Use the Error Feature
Access the Error Feature:
- Navigate to the Common dropdown in the MintFlow Sidebar Menu.
- Select the Error feature.
Drag the Error Feature into the Workflow:
- Drag and drop the Error component into the workflow area.
Configure the Error Component:
- Expand the Error Node: Click on the Expand icon to open the configuration panel.
- Set the Error Filter: Choose from filters like Critical, Major, Minor, or All.
- Enter Error Details: Specify the error details or messages to be captured.
Example Use Case
To capture critical errors:
- Drag the Error feature into the workflow.
- Expand the node and set the filter to Critical.