How to provide flow variable as input to KVM-KEY

Not applicable

Hello All,

I have a KVM with 4 keys and their respective values. During retrieving, i need to retrieve a value of a particular KEY and that KEY name comes as a flow variable before the KVM policy.

I'm trying to get like below but not working. servername is the flow variable.

can someone help on this request.

<Get assignTo="dynamictargetserver">
<Key>
<Parameter>{servername}</Parameter>
</Key>
</Get>
</KeyValueMapOperations>


Solved Solved
1 2 428
1 ACCEPTED SOLUTION

Hi @venkat ch ,

You have to use below syntax to reference flow variables in Parameter element.

<Parameter ref="variable_name"></Parameter>

In your case it will be like:

<Parameter ref="server_name"></Parameter>

View solution in original post

2 REPLIES 2

Hi @venkat ch ,

You have to use below syntax to reference flow variables in Parameter element.

<Parameter ref="variable_name"></Parameter>

In your case it will be like:

<Parameter ref="server_name"></Parameter>

Thanks . it's working.