Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 2. Updating your playbook set_stats fields to support integration with Automation Services Catalog
You can update your playbooks to pass information to Automation Services Catalog and support substitutable variables across the product in your order process workflow.
2.1. Writing playbook that return values to Automation Services Catalog Link kopierenLink in die Zwischenablage kopiert!
You can write playbooks designed to return values to Automation Services Catalog. Prefixing set_stats parameters with expose_to_cloud_redhat_com_ will return that value to Automation Services Catalog. You can then pass those values through additional playbooks using substitutable variables.
Use the playbook examples below to learn now about set_stats values and to pass values back to Automation Services Catalog and use them as substitutable values in subsequent playbooks in your order processes.
Example before order playbook
This before order playbook returns to Automation Services Catalog set_stats values for a favorite color:
Example product order playbook
This playbook passes a substitutable value back to Automation Services Catalog as an artifact value.
Example after order playbook
The after order playbook example below includes the artifact after_data value that was passed by the product playbook.