Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt

Use this file to discover all available pages before exploring further.

Syntax

setExecutionAmount(nodeId, value)

Description

Updates the execution count for a Node with the given nodeId. Parameters:
  • nodeId: string — the Node ID.
  • value: number — the new execution count to set.
Returns: void

Example

// Set the execution count to 5 for the Node with the nodeId "c4c5c267-55d8-44ae-a123-f351d237f496"
setExecutionAmount("c4c5c267-55d8-44ae-a123-f351d237f496", 5);