02-12-2024 12:28 AM
Hi All,
We've allready logged a ticket with Hyland support over a month ago and still don't have any answers as someone left our tickets on the side. Currently it's picked up again fortunately but maybe someone else allready had this issue fixed.
When creating a new object via the POST Class Objects in a normal class this works great. However if we need to create an object in an association class we can't do this. There is no mention in the documentation of which classes are supported and also no mention on what to add there. So maybe someone else has done this allready. This needs to be there for creating new users in our Contract Management solution from Hyland. It's a security attribute table which needs to be populated.
What works is creating an empty line in the class with no values (seen on database level). However adding attributes based on normal values or keys doesn't work at all. So now we can create empty rows and then manually add values in the database but this also isn't supported. So maybe someone knows how this works.
Best Regards, Tim
02-12-2024 06:03 AM
EDIT: After testing myself, it appears to be broken
There is no mention in the documentation of which classes are supported and also no mention on what to add there.
I'm not sure what you mean by this statement, but I think the general Workview documentation would answer this. It would have to be configured as an association class.
When creating an association class object, whether in workflow or the unity API you generally need to pass two object id's of the two objects you are trying to associate. Those objects would need to be in the class of the objects configured for the associated class.
However, in the rest API you would pass the object key of those two objects:
{ "attributeValues": { "1004": "MTIsNCwxMDAxNCwxMDAy", "1014": "STzsNCixMDAbNCwxBNAx" }, "activateObject": true}
The above would relate to the two related attributes that make up an associated class and the object keys would represent the object ids.
Associated classes generally look like this in Studio:
02-14-2024 12:34 AM
Thanks for letting me know. I've just got the same answer from the supportdesk. I did try this before but maybe I did it wrong and will try this again.
02-15-2024 06:42 AM
Hi
I've tested it but it doesn't seem to work for me. So I get the following message error when doing this:
02-15-2024 08:13 AM
What version are you on? That does look like it could be a bug, notably the 1043 in the error message. I've seen a few places in the rest Api where the class id is incremented by 1, but nothing breaking like this.
This is going to sound dumb, but have you tested to see if you could create the Associated object with 1 of the values? Maybe then you could retrieve it and update it with the second value. Obviously, that's not preferred, but I'm curious in terms of a workaround if that might work.
I'm going to test v23 at some point today to see if I can confirm the same thing you see. Very interesting.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.