System Call Unit

System Call Unit


System Call Unit Overview

  1. Purpose: The System Call Unit is an action unit in the Flow Editor/Designer that enables you to invoke internal system-level services or platform operations during execution. This unit is used to perform predefined system actions, retrieve system data, or trigger platform functionalities that are not exposed through external connectors.
  2. What it does: 
    1. Executes a system-level command or invokes an API provided by the OS.
    2. Common actions include:
      1. Reading/writing files.
      2. Executing shell commands.
      3. Accessing environment variables.
      4. Interacting with hardware or system resources.
  3. How it works:
    1. Trigger Point in Flow:
      1. When the process reaches the System Call Unit, it pauses the normal flow and executes a predefined system-level command or script.
    2. Command Execution:
      1. The unit sends a request to the OS or system API.
      2. This could be:
        1. A shell command (ls, mkdir, rm).
        2. A script (.sh, .bat, PowerShell).
        3. An executable or binary.
    3. Input/Output Handling:
      1. Input: Parameters passed from the workflow (e.g., file path, environment variables).
      2. Output: Captures the result (success/failure, return code, or output text) and makes it available for the next steps in the flow.
    4. Error Handling:
      1. If the system call fails (e.g., permission denied, file not found), the unit can:
        1. Retry.
        2. Branch to an error-handling path.
        3. Log the error for debugging.
  4. Common Use case:
    1. Calling a REST API to fetch data.
    2. Triggering a microservice or external script.
    3. Executing a command-line utility from the workflow.
    4. Automation: Run a script on the server (bash, PowerShell).
    5. File Management: Move or delete files in a directory.
    6. Integration: Call an external executable or system utility.
  5. Visual Representation:
    • Related Articles

    • Edit System Call Unit

      Edit System Call Unit
    • Edit System Call Unit

      Overview The System Call Unit is an action unit in the Flow Editor/Designer that enables you to invoke internal system-level services or platform operations during execution. This unit is used to perform predefined system actions, retrieve system ...
    • Expansion Call Unit

      Expansion Call Unit Overview Purpose: The Expansion Call Unit is an action unit in the Flow Editor/Designer that allows a flow to invoke extension or expansion services to perform advanced, customizable, or domain-specific operations beyond core ...
    • HTTP Call Unit

      HTTP Call Unit Overview Purpose: An HTTP Call Unit in a flow diagram is used to make HTTP requests to external services or APIs as part of your workflow. It’s a way to integrate your process with web-based systems. What it does: Sends an HTTP request ...
    • FTP Call Unit

      FTP Call Unit Overview Purpose: The FTP Call Unit is an action unit in the Flow Editor/Designer that enables a flow to connect to an FTP/SFTP server to perform file-based operations during execution. This unit allows automation flows to securely ...