07-31-2018 03:46 AM
Hi,
How to pass result of 'Execute Cloupia Script' activity to workflow output field? I tried with output object & ctxt.setOutputValue('yyy',yy), but fails with object not found. I'm trying to set workflow Output variable from 'Execute Cloupia Script'.
07-31-2018 04:48 AM
var url = "http://" + ctxt.getInput(UCSM_URI) + ":80/nuova";
ctxt.updateInput("UCS_SERVERS", manifest);
var vmID = ctxt.getOutput("VMProvisionEngineConfig_235.PROVISIONED_VM_ID", childSrId);
ctxt.setOutputValue("vHBA0_P",vHBA0_P)
the variables have to be defined in the Workflow as workflow global variables either input or output.
here are your options... but I would use a custom task.
07-31-2018 05:36 AM
Thanks for quick reply. I have defined Workflow User Output , and when i try to use ctxt.setOutputValue("Result","some result") , script fails with setOutputValue not defined.
Note: i'm using "Execute Cloupia Script" activity, the result of this activity must be set in Workflow Output field.
08-02-2018 04:07 AM
I created a bug for this: CSCvk64432
I would recommend using a custom task in the mean time. Then you can re-use the task in other workflows.
var x = input.some_var;
output.some_var = xx;
08-02-2018 04:22 AM
Thank Gelbrich. For now, i will go with the workaround provided by you. Can you let me know, how can i track this bug & when can i get the patch and from where i can get the patch for this? I'm using UCSD 6.6.
08-03-2018 04:34 AM
08-03-2018 04:34 AM
I am not sure if this is a Cisco internal page or not, but try out the link
https://cdetsng.cisco.com/webui/#view=CSCvk64432
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide