Hiep Chelsea
Hiep Chelsea

Reputation: 67

Cloudify get workflow's blueprint_id and deployment_id

How do I get blueprint_id and deployment_id in my own custom workflow in Cloudify? Thanks

Upvotes: 0

Views: 146

Answers (1)

earthmant
earthmant

Reputation: 259

In python you can do this:

from cloudify.workflows import ctx

blueprint_id = ctx.blueprint.id
deployment_id = ctx.deployment.id

Upvotes: 4

Related Questions