I am trying to make a connection to a data model through workbench, so far I have extracted the json file from the data pool and used both the data model id and the data model name in ;
pool = celonis.datamodels.find("--data model id--")
But so far I am getting no results found. Is there a process that I have to follow beforehand ? I am currently following the root cause analysis ipynb notebook
Hmmmm....
it should be really simple
from pycelonis import get_celonis
celonis = get_celonis()
celonis.datamodels
(you will get a list of ALL the data models that your key has access)
datamodel=celonis.datamodels.find('datamodelname')
and data model is a data model object that you can use as per
https://celonis.github.io/pycelonis/1.7.1/reference/celonis_api/event_collection/data_model/
Most of the times can be that, simply, your key has not permissions.
Or that the name you put in the .find() is incorrect/misstyped/etc..... so .find() will return an empty value.
HTH
It was actually a permissions issue, individual permissions do not "count" in workbench and was classified as another "user". Thank you very much !
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.