Default Input Type Code from Resource object not populating on new resources
search cancel

Default Input Type Code from Resource object not populating on new resources

book

Article ID: 50933

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Adding a default to Input Type Code on the attribute on the Resource Object is not considered when one creates a new Resource in Adminstration > Resources. The new resource created in the app shows the field blank as opposed to being populated with the default value.

STEPS TO REPRODUCE:

  1. Login to Clarity as an administrator user
  2. Admin Tool -> Studio: Objects -> Resource Object
  3. Attributes -> Input Type Code -> select a Default Value and save
  4. Views -> Resource Labor Properties [Fields]
  5. Click 'properties' icon for Input Type Code field
  6. Confirm there is a value in the 'Override Default' field
  7. Admin Tool -> Resources -> Click 'New' button
  8. Create a new Resource in the Admin Tool
  9. Main Application -> Resources: Search and open the Resource profile

Expected Result: Default values should be populated on the Resource profile
Actual Result: The default value was not populated for the Input Type Code

Note: The same result is found for users created via XOG or LDAP SYNC JOB.

Environment

All Clarity versions

Resolution

The application is behaving as expected.

Setting default values on the Resource Object is for setting the defaults on new Resource profiles created from the Main Application -> Resources, not from creating a Clarity User from the Admin Tool -> Resources. The Admin Tool -> Resources functionality is for creating end-user profiles and for adding security access rights to the end-user profile. When creating a new Clarity User in the Admin Tool, the Create layout does not include the Input Type Code and therefore, the application cannot populate it with the configured default value. This applies to other attributes that may be configured with default values. If setting default values are important to your process for creating resources, implement a business rule to have your Clarity Administrator create the Resource profile in the Main Application -> Resources first, then go into the Admin Tool and add the security access rights.