O'Reilly logo

Hybrid Cloud Management with Red Hat CloudForms by Sangram Rath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modifying a state machine

We saw earlier how certain state machines play an important part in the provisioning request approval phase. But these are the default state machines available in the ManageIQ locked domain. In a real-world scenario, the state machine parameters and values will be different as per the level of automation required.

CloudForms lets you modify these default state machines or create your own states in a state machine. However, since you cannot modify them in the default locked domains, you must create a user-defined domain, copy the state machine class to the new domain, and then modify them as per the requirements.

Let's take an example to see how this works. Here, we will consider the ProvisionRequestApproval state machine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required