vrealize/Orchestrator/Workflows/VM Provision/Tasks/01_unpack_payload.js

10 lines
491 B
JavaScript
Raw Normal View History

2022-06-15 21:32:47 +00:00
/* JavaScript: unpack payload
Extracts needed variables from the vRA inputProperties
Inputs: inputProperties (Properties)
Outputs: originalNames (Array/string), domain (string), nameBase (string), endpointId (string), digits (number)
*/
nameBase = inputProperties.customProperties.nameBase;
originalNames = inputProperties.resourceNames;
domain = inputProperties.customProperties.domain;
endpointId = inputProperties.endpointId;
digits = inputProperties.customProperties.digits;