其他节点的输出#
用于处理其他节点输出的方法。某些方法和变量在代码节点中不可用。
Python支持
你可以在代码节点中使用Python。但在表达式中不可用。
| 方法 | 描述 | 是否在代码节点中可用? |
|---|---|---|
$("<node-name>").all(branchIndex?, runIndex?) |
Returns all items from a given node. If branchIndex isn't given it will default to the output that connects node-name with the node where you use the expression or code. |
|
$("<node-name>").first(branchIndex?, runIndex?) |
The first item output by the given node. If branchIndex isn't given it will default to the output that connects node-name with the node where you use the expression or code. |
|
$("<node-name>").last(branchIndex?, runIndex?) |
The last item output by the given node. If branchIndex isn't given it will default to the output that connects node-name with the node where you use the expression or code. |
|
$("<node-name>").item |
The linked item. This is the item in the specified node used to produce the current item. Refer to Item linking for more information on item linking. | |
$("<node-name>").params |
Object containing the query settings of the given node. This includes data such as the operation it ran, result limits, and so on. | |
$("<node-name>").context |
Boolean. Only available when working with the Loop Over Items node. Provides information about what's happening in the node. Use this to determine whether the node is still processing items. | |
$("<node-name>").itemMatching(currentNodeInputIndex) |
Use instead of $("<node-name>").item in the Code node if you need to trace back from an input item. |
| 方法 | 描述 | 是否在代码节点中可用? |
|---|---|---|
_("<node-name>").all(branchIndex?, runIndex?) |
Returns all items from a given node. If branchIndex isn't given it will default to the output that connectsnode-name with the node where you use the expression or code. |
|
_("<node-name>").first(branchIndex?, runIndex?) |
The first item output by the given node. If branchIndex isn't given it will default to the output that connectsnode-name with the node where you use the expression or code. |
|
_("<node-name>").last(branchIndex?, runIndex?) |
The last item output by the given node. If branchIndex isn't given it will default to the output that connectsnode-name with the node where you use the expression or code. |
|
_("<node-name>").item |
The linked item. This is the item in the specified node used to produce the current item. Refer to Item linking for more information on item linking. | |
_("<node-name>").params |
Object containing the query settings of the given node. This includes data such as the operation it ran, result limits, and so on. | |
_("<node-name>").context |
Boolean. Only available when working with the Loop Over Items node. Provides information about what's happening in the node. Use this to determine whether the node is still processing items. | |
_("<node-name>").itemMatching(currentNodeInputIndex) |
Use instead of _("<node-name>").item in the Code node if you need to trace back from an input item. Refer to Retrieve linked items from earlier in the workflow for an example. |