I have TASK for Create User and Task have few Mandatory filed like FIRSTNAME and that is Screen Logical Attribute.
When i'm trying to create the user using the Bulk Loader then I'm getting the Error message "First Name is mandatory".
Please help me how to use Logical attribute in FEED File.
Failed to submit "Create a test account" for MBTSC127 (record number 1). Reason: Attribute First name (given name): is required. Attribute Last name (surname): is required.
---File Header with content---
As you can see above give Name has value security.... but still getting the error message in VST given Name in Commendatory field.
If FIRSTNAME is logical attribute represented at |FIRSTNAME| on screen, please try to use following feed data:
I have tried to upload the user as you mention but still i'm getting the same error.
Hi Hsingh Nitk,
Sumeet answered to your question.
I add this is in the doc.
See (this is for |enabled| LA and can be adapted for any other LAs, this is the principle)
Sample Feeder File for Enabling UsersThis sample feeder file changes the value of the |enabled| logical attribute. You specify the logical attribute in the header, and the value (in this case, true or false) in each user entry in the file.
Still getting the same error message.
I have used the below records.
I believe the issues here is with screen logical.
You can achieve the same results using an LAH (Logical Attribute Handler), which can be used as a "global” screen logical.
If you are using version 14 and above you have one defined called "Generic LAH Handler” (in the management console, Home › Environments › identityEnv › Advanced Settings › Logical Attribute Handlers). In its settings you can add another logical attributes (e.g. |FirstName|). This will not generate any code and the value will be temporary and removed after the tasks completes.
If you are on an older version you can create your own LAH using the attached code.
See also: https://docops.ca.com/ca-identity-manager/14-1/EN/programming/programming-guide-for-java/logical-attribute-api/logical-attribute-api-overview/sample-logical-attribute-handlers