cancel
Showing results for 
Search instead for 
Did you mean: 

crashed by assignment and can Java API help?

Former Member
0 Kudos

Hi All,

I get crashed each time when I execute "assigment"(even though I reinstalled my computer), so I am considering to use Java API to do the assignment work, well I browsed the java API and didn't find any API for assignment, does anyone know can Java API support assignment, when yes, can you give me some document or example? thanks very much!

Best regards,

Bin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Bin,

You can Use the Methods available for Validations In Java API for Assignment operation as well.

Use ValidateRecordsCommand and ValidationFailures interfaces of the a2i.commands package for implementing the same.

Following are the steps to be followed.

1. Using the methods of ValidateRecordsCommand execute the validation.

2. Using the methods of ValidationFailures get the Validation info.

3. Now once you have the list of all Records ids that have Passed the Validation Criteria you can update the assignment field of your choice only for those Records.

4. Same can be done to the Records that have Failed The Validation Criteria.

Hope this Helps you.

Regards,

<b>Rashmi Jadhav</b>

Please Reward Helpful Answers.

Former Member
0 Kudos

Hi Bin

I don't know which Java API you are talking about. The latest one is the MDM Java API (not MDM4J) which doesn't have the assigment feature implemented yet. However, you can call validations from it.

Regards,

Go:khan

Former Member
0 Kudos

Hello Bin:

What do you mean "assignment" ? you mean on Import Manager, Data Manager, etc?

Greetings

Alejandro

Former Member
0 Kudos

Hi Alejandro, I mean execute "assign" in Data Manager