https://flyte.org logo
#ask-the-community
Title
# ask-the-community
s

Sathish kumar Venkatesan

10/10/2022, 8:41 AM
Team, i am trying to modify existing registered workflow and register again with some changes but ending up with below exception. it is showing exception with launch plan already exists. kindly let me know best practices to redeploy the workflow with same launch plan.
Copy code
details = "launch plan with different structure already exists with id resource_type:LAUNCH_PLAN project:"cloudops-max-flyte-demo" domain:"development" name:"snowflake_cron_scheduled_lp" version:"v1"
s

Samhita Alla

10/10/2022, 10:49 AM
@Sathish kumar Venkatesan, can you give a different version?
s

Sathish kumar Venkatesan

10/10/2022, 10:51 AM
@Samhita Alla i can try with different version. but my goal is to use same version and same launch plan. since i am trying to register via cicd pipeline.
s

Samhita Alla

10/10/2022, 10:53 AM
If you’re modifying the code, you can’t use the same version to register again.
s

Sathish kumar Venkatesan

10/10/2022, 11:20 AM
is there anyway to remove previously registered workflow ?
s

Samhita Alla

10/10/2022, 12:09 PM
Um no. You cannot delete a registered workflow; you can archive it, though.
k

Ketan (kumare3)

10/10/2022, 1:50 PM
Archive
57 Views