AWI: Stacktrace error - com.uc4.api.objects.CyclicException The Workflow must not contain cycles.
book
Article ID: 186372
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation Engine
Issue/Introduction
When creating a workflow, if you have two tasks that refer to each other as dependencies, upon saving you will see a stack trace with the following:
com.uc4.api.objects.CyclicException: The Workflow must not contain cycles.
Environment
Release : 12.2, 12.3
Component : AUTOMATION ENGINE
Cause
The error 'The Workflow must not contain cycles' is as designed; a workflow can not be created where it would be unable to fully complete (a cyclic workflow).
The stack trace is part of incorrect error handling.