In Process State of Reframework not getting in_TranscationItem

HI Everyone i am trying to build this project with reframework where i am trying to enter email and get that email from Queue and with in_TransactionItem.SpecificContent i am able to see content of transcationitem but when i am trying to search with Key not getting correct ressult in_TransactionItem.SpecificContent(“Email”)

@prashant_maghade,

There is a blank space after Email like "Email " in your key.

Thanks ,
Ashok :slightly_smiling_face:

@prashant_maghade,

Use it like this

in_TransactionItem.SpecificContent("Email ")

Thanks,
Ashok :slightly_smiling_face:

1 Like

Hi @prashant_maghade

As per your transaction item, there is an space after Email as marked in the below screenshot:
image

Your corrected syntax will be:

in_TransactionItem.SpecificContent("Email ").ToString

Regards

Hie @prashant_maghade watch your immediate panel where you can see (Email) has space in the ending but while you write in the code you write it with giving space thats why config did not take the value … so you can remove the space -or else for best practice you can wite the code like this.
in_Transaction.specificContent(“Email”).tostring.trim ->so it will take care of the trim
or else you could just add the space after the Email
in_Transaction.specificContent("Email ").tostring
cheers Happy Automation

Thanks @ashokkarale It worked…:slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.