Hi experts,
Is there any way to update Provisioning workflow on already up and running Instance?
On Provisioning workflow, we’d like to set task at “start up” phase. and wants to distribute to existing Instance as well. Is it possible?
And if we no longer use this, is it possible to remove Provisioning Workflow from Instance? or we have delete Workflow?
The instance is associated with the workflow (task set), the instance does not get it’s own copy of that workflow. So updates in the workflow, by adding a task in a phase, or editing an existing task in a phase (relevant to a running VM, like start, stop, teardown) should execute. I’ve tested this.
On your second question, removing the specific instance/workflow association, I don’t know if that is possible in the UI. Perhaps someone else can confirm?
If it is not it would make a nice feature request.
Hi @Ollie_Phillips
thank you for your information.
Yes I have also tested if instance is already associated with workflow, then I can update tasks in the workflow.
If there is no Provisioning workflow associated with an instance, can we add workflow later on?
Yes, that works. Use a provisioning workflow, with a phase relevant to existing VM such as Shutdown
and use the Run Workflow
action on the instance. That workflow is now associated with the instance and tasks in shutdown phase run when instance is stopped.
I see, yes after I use “run workflow” with task on shutdown phase, it run on every shutdown. thank you!