object that doesn't exist shown in U00021719 Syntax error in object '[object]', line 'x

book

Article ID: 223673

calendar_today

Updated On:

Products

CA Automic One Automation

Issue/Introduction

A workflow fails and gives the error:

U00021719 Syntax error in object '[object name]', line '[line number]'. 'U01001308 Variable 'vara#name' has not yet been defined.'.

A search for the object from above, [object name], does not return anything in the working client.

Cause

The include is in Client 0 and being used in a working (non-client-0) client.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

To find the object to track this down for troubleshooting, one of the two methods can be used:

  1. Log into client 0 and use the search tool in the AWI
  2. Use the following SQL statement, replacing the [object name] with the actual object name:
    select oh_client, oh_name from oh where oh_name = '[object name]'