Hi Priya,
create a new attribute in the entity and then
You can use the community Commons java action 'Get GUID'.
Which will give you the GUID of the object, and then save it in the new attribute.
Let me know, if you have some issues!
Hope it helps!