Skip to main content

Hi there,

 

I am wondering how to approach the behavioural change to the Case When PQL operator best. I came up with 2 options and would like to know how others are approaching this.

 

Option 1:

Export a technical document for each Analysis in each Workspace. Then for each documentation search for the Case When operator, then edit the analysis in process analytics.

 

Out of curiosity, is it possible to generate the technical documentation with pycelonis?

 

Option 2:

Exporting each analysis with the backup_content method, "changing the exported json file" and then use rebuild_content_from_backup().

 

Changing the export json file is another issue for me. The dicionaries are very nested and the structure (so far) irregular to me.

 

Besides the json package and pandas are there other ways of importing the json files?

Oh, I am exporting the files in order to rebuild the analysis later on. Would there be a more direct way of changing the data, one without the export?

 

 

I just started with pycelonis and I am wondering if I can pull data for each analysis that needs to be changed in order to check if my changes are correct and I am implementing the right behaviour. With this reason in mind I am currently opting for option 1. And I am not looking forward to it.

 

I am open for ideas / suggestions and I am curious to hear how you are approaching this.

 

All the best,

Sasa

 

P.s. I cant add pycelonis

 

Accidentally pressed enter before finishing that sentence. P.s. I cant add pycelonis as topic because it's not in the list. Would be nice since it seems relevant.


Dear Sasa,

I heard Celonis team is developing Jupyter Notebook to list up candidate to update your ELSE statement. Could you contact to counterpart of Celonis team ?

 

Best regards,

Kazuhiko


Dear Sasa,

 

I found Notebook I mentioned before from Pycelonis page.

https://celonis.github.io/pycelonis-examples/find_affected_case_whens.ipynb

 

Best regards,

Kazuhiko


Great, thank you very much Kazuhiko.


Am I reading this correctly? The find_in_analysis function only considers the draft sheets (document=analysis.draft)


Reply