cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Please help create dynamic parameter in "More Actions" menu

Hello!

I need help to create an additional action for the CloudApp.
That action has multiple parameters.
Im struggling to make a dynamic content of one of those parameters.
The same function with a parameter works fine with launch operation but it`s simply not executed with the additional action.
How can I achieve that?
https://selfservice-4.rightscale.com/designer/source/6261bfe24d22432e78039443

my CAT:

parameter "param_stack_items" do
type "string"
label "List of applications"
description "json:{\"definition\":\"getUserDeployments\", \"description\": \"Select application to backup from the list.\"}"
operations "backup", "launch"
end

 


operation "launch" do
description "Launch the server via Jenkins"
definition "launchVM"
end

operation "backup" do
label "backupVM"
description "Perform off-line file system backup (/dr01 only)"
definition "backupVM"
end


define launchVM($param_stack_items) do
task_label("Launching the VM..")
end

define backupVM($param_stack_items) do
task_label("Backupping")
end

(1) Reply

@nudut1 

I asked around internally and got the following response from one of the SME's:

Dynamic Parameters was a "labs" feature back in RightScale era, and most likely not something that is officially supported today.
 
With that said, I believe Dynamic Parameters are not possible after the Cloud App has been launched [i.e. when More Actions is available]. It's only usable during the Launch Cloud Application flow.
 
Thanks,