I am using payload properties to get the virtual machine details and updating ServiceNow CMDB. With this payload workflow, when I add vCACHost and vCAC:virtualmachine (vmentity) parameters to update the service now sysid into virtual machine(for to remove/update the SN cmdb later) using the action "addUpdatePropertyFromVirtualMachineEntity" or with the update property workflow I am getting error like below. Can't use payload and vCACHost with vmentity at same time on single workflow?
Error in (Dynamic Script Module name : parsePayload#1) TypeError: Cannot call method "get" of null
Note that I am referring this workflow with vRA Machine Provisioned Lifecycle and referenced the following link workflow for SN CMDB.
https://managesddc.com/2014/10/01/update-servicenow-cmdb-as-part-of-iaas-machine-life-cycle/
Can you please help on this? and let me know if you need more details.