Bug 1523476 - [RFE] [4.6] Describe how to back an Automate method with an expression
Summary: [RFE] [4.6] Describe how to back an Automate method with an expression
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Documentation
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Chris Budzilowicz
QA Contact: Suyog Sainkar
URL:
Whiteboard:
Depends On: 1492275
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-08 05:31 UTC by Andrew Dahms
Modified: 2018-01-15 14:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-15 14:46:34 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrew Dahms 2017-12-08 05:31:54 UTC
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.

Comment 2 Andrew Dahms 2017-12-08 05:33:27 UTC
Assigning to Chris for review.

Comment 4 mkanoor 2018-01-08 20:53:19 UTC
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.

Comment 5 Andrew Dahms 2018-01-09 04:17:32 UTC
Assigning Suyog as the QA contact.

Comment 7 mkanoor 2018-01-10 16:11:34 UTC
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


Note You need to log in before you can comment on or make changes to this bug.