โ04-16-2019 07:03 PM
I need to be able to get an OrgToInd relation, preferably by type(source and relation) and by value, though. I have tried several values and types, and havenโt been able to get it to work. The โexampleโ pipelines all seem to be missing the very key part that I need, and all seem to be for regular entities rather than relationsโฆ The same snap works fine for crosswalks, set to entities.
The closest I got gave me errors of:
{error:The bulk execute request failed with status code: 500 and access token: 62019bd0-079c-4e3b-95d7-b41d87d988fe ., stacktrace:com.snaplogic.snap.api.SnapDataException: The bulk...}
โerrorโ: โThe bulk execute request failed with status code: 500 and access token: 62019bd0-079c-4e3b-95d7-b41d87d988fe .โ
โstacktraceโ: โcom.snaplogic.snap.api.SnapDataException: The bulk execute request failed with status code: 500 and access token: 62019bd0-079c-4e3b-95d7-b41d87d988fe .\n at com.snaplogic.snaps.reltiosnapconnector.util.ReltioBatchCommon$ThreadBatch.createAndExecuteRequest(ReltioBatchCommon.java:232)\n at com.snaplogic.snaps.reltiosnapconnector.util.ReltioBatchCommon$ThreadBatch.run(ReltioBatchCommon.java:194)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n at java.lang.Thread.run(Thread.java:745)\nโ
โreasonโ: โUnsupported request. Request method โPOSTโ not supported, errorCode: 2003โ
โresolutionโ: โPlease check your request and try again.โ
โstatus_codeโ: โerrorโ
โsnap_detailsโ: {label:Get by Crosswalk, instance_id:d5afdd11-f333-4ad3-ba28-4d6dd443cc95, class_id:com-snaplogic-snaps-reltiosnapconnector-reltiogetbycrosswalk, build_tag:reltiosnapconnector6773,โฆ}
โoriginalโ: {value:0043566300129, type:OrgToInd}
โ04-17-2019 09:09 AM
As you mentioned, โthe same snap works fine for crosswalks, set to entities.โ which means you can able to fetch data for entity and that is the current behavior supported by snap.
As far I remember, Reltio supports fetching of entity /entities by crosswalk, not for relations.
Refer to https://help.reltio.com/index.html#relationsapi/dataapirelations.html for APIs for Relations which seems there is no API support for โGet Relations by Crosswalkโ
While if you look at Entities section https://help.reltio.com/index.html#entitiesapi/entities.html , there is an API for same " Get Several Entities by List of Crosswalks" :
https://help.reltio.com/index.html#entitiesapi/getentitybycrosswalklist.html
You need to have Reltio Read (Object) snap for getting the relation where you do not need the crosswalk to search for.
โ04-17-2019 09:28 AM
The problem is that there is no crosswalk selection, only ENTITIES and RELATIONS. I can get a normal crosswalk via entities, and relations gives me that error. So it seems it doesnโt work for relations. So I was using hops, and reducing it down, but with the specs they have that causes a lot of problems.
โ04-17-2019 09:43 AM
For crosswalk snap, It wonโt work for relations as Reltio does not support it. Current is only supported for entities.
โ04-22-2019 06:29 AM
Thatโs unfortunate. I had a backup plan, so I used that. I used the reltio _hops api(which gives all objects referring to, or referred by the object you have, and worked it down to the object I was looking for. It works, and is fine here, but a more direct and shorter route would have been better.
Still, thanks for confirming.