Log nested array and object data on a schedule
Utilities
What it does
When a specified interval triggers, this automation creates a list and accumulates items with nested fields. Someone can see how array and object type inputs behave in the output log.
Who it's for
Engineering teams who test nested data structures in automation workflows.
Apps used
- Scheduler by Workato
- Workato List
How teams use this
Test array field nesting behavior
Run this automation on a schedule to see how nested arrays are structured in the output log. This helps confirm the array format works as expected before using it in production.
Validate object field structure
Check how nested objects appear in the log output to ensure all fields are present and formatted correctly. The same schedule runs both array and object tests together.
Add custom field validation
Include a condition step to check if nested fields meet specific requirements before logging. This extends this automation to filter or reject invalid data structures.
Run tests on demand instead of schedule
Replace the Clock trigger with a manual start so someone can run the nested field tests whenever needed. The list creation and logging steps remain the same.
How it works
- Trigger on a specified interval. This automation runs at the scheduled time you set, starting without manual input needed.
- Create list and accumulate array items. Build a list in Clock and add items with nested array type input so the structure is ready for testing and output.
- Log nested array output. Write the accumulated array data to the output log in Clock so someone can inspect how nested fields are formatted.
- Accumulate object type items. Add items with nested object type input to the list in Clock so both data structures are tested in one run.
- Log nested object output. Write the accumulated object data to the output log in Clock so someone can verify nested object fields are correct.