Keynotfoundexception while using assign activity

Hi, I am using assign activity to store values of arguments after ‘get transaction item’.
It says
Message: The given key was not present in the dictionary.
Exception Type: KeyNotFoundException”

I am using the assign activity as below:
var1 = transaction.SpecificContent(“cash1”).ToString //[where cash1 is an argument in the queue]
and datatype of var1 is string.
Please let me know where I am doing wrong?

Hi @Aishwarya28,

cash1 specific content key is not available in the transaction

Thank you Akila. I noticed I was using “cash1” whereas argument name was “Cash1”.

Thank you Akila.

I noticed I was using “cash1” whereas the argument name was “Cash1”.

Its working now. Thank you.

Image result for hello my name is kate granger

Aishwarya Gupta

IT Client Support - F&A Technology |
NHS Shared Business Services

Tel: +0091 0121 635 2667 | Meet Me: India (Using CUG) : 2667