B2Win Suite Documentation (Under Construction)
ContactB2Data
5.6
5.6
  • B2Win Suite Documentation
  • Scripting
    • B2Win Suite Scripting Overview
    • Scripting in B2Data
      • Custom Script Nodes
        • Custom Script
        • Source Script Node (File)
        • Source Script Node (Table)
        • Source Script Node (Object)
        • If-Else Condition
        • Switch case
        • Condition Node
      • In DataPrep
      • Properties
      • Workflow Applications
        • Workflow #1
        • Workflow #2
    • Getting Started
    • Language Basics
    • Types & Objects
      • Primitives
      • Objects
        • Instant
        • LocalDateTime
        • LocalDate
        • LocalTime
        • JsonNode
        • ObjectNode
        • File
        • SuiteTable
        • Duration
        • Period
      • Arrays & Maps
      • Row, Column, StringColumn
    • Contexts
      • Context (Execution)
      • Node Input
        • DataFrame
        • File
        • DataObject
    • Utilities
      • Date & Time
        • InstantUtil
        • GeneralDateUtil
        • LocalDateTimeUtil
        • LocalDateUtil
        • LocalTimeUtil
        • Formatting
        • Timezones
      • Math
      • StrictMath
      • NumericUtil
      • DbUtil
      • DbExecutor
      • DataFrameQueryUtil
      • StateUtil
      • FileUtil
      • JsonUtil
      • HttpUtil
      • NodeInputReader
      • RandomUtil
      • HashingUtil
      • ShellUtil
      • CompressionUtil
      • System
      • Logging
    • Properties
    • Configurations
      • Workflow Configuration
    • Tutorial
    • Feedback
  • B2Data
    • Tutorials
      • Infor DataFabric to On-Premise Database Replication
      • API (DB replication, Email)
    • Workflow Settings
      • General Settings
      • Global/All Properties
      • Execution Configuration
        • General
        • Runtime
        • Compiler
        • Storage
        • Clean Up
      • Permissions
    • Nodes
      • Scheduler
    • Services Configuration
      • Microsoft Graph
Powered by GitBook
On this page

Was this helpful?

  1. Scripting
  2. Contexts

Node Input

PreviousContext (Execution)NextDataFrame

Last updated 13 days ago

Was this helpful?

In Scripting contexts you can get the node input by calling the instance id of the previous node from which you want to get your data we have 3 types of data inputs:

Example Nodes: VisualQuery, Query, DataPrep, QueryInMemory...

Example Nodes: FileUploader, ExcelBuilder, FileRenamer, File Listener...

Example Nodes: ScriptSourceObject, JSONObject...

Example Use:

// Example get DataFrame from VisualQuery_1
VisualQuery_1.row(0).name

// Example get File from FileUploader_1
FileUploader_1.asFile()

// Example get DataObject from ScriptSourceObject_1
ScriptSourceObject_1.asData();
DataFrame
File
DataObject