Skip to main content
Solved

Cognite function chaining


Forum|alt.badge.img+1

Can we have function chaining feature in Cognite functions where on sucess/failure status of a function we initiate another function.

Best answer by Knut Vidvei

Hi, Ardash,

 

Thank you for the questions on Cognite Functions. This functionality allows you to deploy and run Python code on Cognite Data Fusion on a schedule or by calling the function.

The orchestration is up to the user or system integrator to orchestrate themselves based on your use case, but is not an out-of-the-box functionality in Cognite Data Fusion, as Jason says.

What type of orchestration would you need to get more value here?

 

Full documentation is located here, with https://docs.cognite.com/cdf/functions/

To call a function you use: 

call = func.call(data={"assetNo": 0})

And to get the response

call.get_response()

 

Best regards,

Knut Vidvei

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img

Ardash,
No, workflow orchestration is not currently available out of the box.


Jason


Knut Vidvei
Seasoned Practitioner
Forum|alt.badge.img
  • Seasoned Practitioner
  • January 17, 2023

Hi, Ardash,

 

Thank you for the questions on Cognite Functions. This functionality allows you to deploy and run Python code on Cognite Data Fusion on a schedule or by calling the function.

The orchestration is up to the user or system integrator to orchestrate themselves based on your use case, but is not an out-of-the-box functionality in Cognite Data Fusion, as Jason says.

What type of orchestration would you need to get more value here?

 

Full documentation is located here, with https://docs.cognite.com/cdf/functions/

To call a function you use: 

call = func.call(data={"assetNo": 0})

And to get the response

call.get_response()

 

Best regards,

Knut Vidvei


Anita Hæhre
Seasoned Practitioner
Forum|alt.badge.img+1
  • Head of Academy and Community
  • February 24, 2023

Hi @Adarsh Dhiman did Knut’s reply above give you what you need? 


Forum|alt.badge.img+1

Hi Anita & Knut,

Thank you. Yes, the explanation is good enough.

Regards,

Adarsh


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings