Inspect Graph Block
Debug and inspect the current state of the workflow graph
The Inspect Graph block is a utility within Scout workflows designed to provide insights into the current structure of the workflow graph. This block is particularly useful for debugging and ensuring that the workflow is correctly structured.
Configuration (Required)
This block does not require any configuration inputs.
Outputs
The Inspect Graph block outputs a dictionary representing the serialized state of the workflow graph. This output is in JSON format and includes details such as:
- Response Format: The format of the response, which is always ‘json’.
- Elapsed Time (ms): The time taken to serialize the graph, in milliseconds.
- Cost: The computational cost associated with the operation.
Usage Context
Use this block to debug and inspect the workflow graph during development or testing phases. It is especially useful for understanding workflow execution paths and potential issues.
Best Practices
- Utilize this block in a development or test environment to avoid unnecessary overhead in production.
- Analyze the serialized graph data to understand workflow execution paths and potential issues.