Affects Release version(s): 6;7
Error Message :
Unable to cast object of type 'com.uc4.api.objects.WorkflowIF' to type 'com.uc4.api.objects.JobPlan'.
Renaming a Component where other Automation Engine (AE) objects like JobPlans are part of the specific Component Flow (i.e. FOREACH or IF) triggers the above error message.
This occurs in version v6 and v7 of ARA.
Root Cause: Changing the Owner/Name/Folder of a Component raises an error when the corresponding component workflows in AE contain an IF or ForEach workflow. This error may also be thrown if the component, workflow or application is renamed.
OS Version: N/A
Update to a fix version listed below or a newer version if available.
Fix Status: Released
Release Manager 8.0.0 - Available
Release Manager 7.0.2 - Available
Release Manager 6.0.5 - Available
Avoid renaming the Workflow IF object after its contained in a component workflow.
Assume the component wokflow is: RM.DEMOAPP.DEMOAPP.DEPLOY.DATABASE
It contains a Workflow IF object: RM.DEMOAPP.DEMOAPP.DEPLOY.DATABASE.WHATIF
To avoid the error, rename the Workflow IF object to: RM.DEMOAPP.DEMOAPP.DEPLOY.WORKAROUND.DATABASE.WHATIF
The idea is to avoid this name pattern: RM.DEMOAPP.DEMOAPP.DEPLOY.DATABASE*