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"
t
tall-lock-23197
10/10/2022, 10:49 AM
@mammoth-lion-71167, can you give a different version?
m
mammoth-lion-71167
10/10/2022, 10:51 AM
@tall-lock-23197 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.
t
tall-lock-23197
10/10/2022, 10:53 AM
If you’re modifying the code, you can’t use the same version to register again.
m
mammoth-lion-71167
10/10/2022, 11:20 AM
is there anyway to remove previously registered workflow ?
t
tall-lock-23197
10/10/2022, 12:09 PM
Um no. You cannot delete a registered workflow; you can archive it, though.