VMware Cloud Community
koushik_vmware
Enthusiast
Enthusiast

The "LiteralMap" from "CatalogItemRequest.requestData" method doesn't return all the properties correctly in VRO7 workflow.

Hello All,

Recently I am facing an issue with the method "requestData" of the "CatalogItemRequest" object.

It seems that all properties are not returning properly every times.Here you can see the property "provider-_number_of_instances" is with value 5. But sometimes this property is not available in the IMap variable. I have used the below code snippet. Is there any way I need to change the code so that every time I get the same result.

My target is to retrieve the value of property "provider-_number_of_instances". But it is not happening all the times in my code.

Can you please check and let me know ? Thanks for your suggestion.

I am using vRA7.0 and vRO7.0 at my end. Here pay load is coming from vRA7 from EBS as a part of Pre-Approval event.


Catalog.png
     var IMap = . catalogItemRequest.requestData;

     System.log("IMap >>>>> :" + IMap);


     Below is the result :IMAP_Details.png

Thanks,

Koushik

0 Kudos
0 Replies