Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

TypeError: Cannot call method "get" of null

$
0
0

Hi,

 

This question should maybe be posted in the Orchestrator forum, but I´ll try here first. I´m running a workflow as a post machinebuilding event and in the the script I have defined payload as a input. The first line of the script is "var machine = payload.get("machine");" and it generates the following error "TypeError: Cannot call method "get" of null".

 

I´m using the exact same line in a pre machinebuilding event and it works fine. My first thought was that "machine" is not available but it does seems to be available since I see this in the logs "'attribute': name=machine type=string" with the correct values.

 

I am hoping someone can help me with this problem. If more information is needed, please let me know.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>