Skip to main content
Question

How can we extract data related to Action Flows using python.

  • June 11, 2024
  • 3 replies
  • 26 views

Hi All,

I would like to know if anyone has any idea on how we can extract data of Action Flows into machine learning workbench using python.(NB: I am using pycelonis version 1.7.2)

3 replies

matt.witty13
Level 10

Noticed no one answered this for you. What are you looking to extract? It is possible, but want to make sure I answer what you're looking for.


  • Author
  • Level 7
  • June 20, 2024

Hi Matt,

 

Thanks for your reply, We are looking to take backup of the Action flows which we have created in our environment , on a high level specifically we are using components like query data, array aggregator and outlook 365 in our action flows. So we are trying to get data's like parameters, variables, tables, columns, filters, PQL code, html code etc. which are used inside the action flow . Is there any possibility to get this details using python.

 

Thanks,

Akshay


matt.witty13
Level 10

Okay yes this is possible. Go to the Action Flow you want to extract data from and go to "Blueprint"

 

image 

This exports a JSON file of the Action Flow. You then use the JSON package within Python and you can perform json.loads([blueprint file name]).

 

imageThis is the script I'm using to extract filters and KPIs to build a directory/repository of what we're using.