Red Hat CloudForms 4.6 adds a new expression builder for Automate methods that simplifies the process of creating methods. A procedure must be added to the Scripting Actions in CloudForms guide that outlines how to use this new feature.
Assigning to Chris for review.
Hi Chris, looks good, but I would like to add some of the notes from this talk topic. http://talk.manageiq.org/t/automate-expression-methods/3071 We should mention that the name of the parameters have to be arg1, arg2, arg3 ... for each parameter provided at runtime by the user. If there are 2 runtime parameters you need arg1 and arg2 defined in the input parameters. In the default value for these fields you can substitute values from other objects in the Automate Workspace.
Assigning Suyog as the QA contact.
Hi Chris, Looks good, the examples would help, at some point I am thinking Pater McGowan might add these methods to his Automate Book, you might want to ping him if he has any examples that he is using or use the ones from my talk topic. Thanks, Madhu