In the workflows module, the user will be able to manage his/her connections/friends?So, if i want to unfriend someone can i do this from this module?
Yes, assuming you're viewing a users profile other than your own you should be able to use the below URL.
index.php?option=com_comprofiler&act=connections&task=removeConnection&connectionid=[user_id]
Also, assume that i become friends with another contact. The delimiter field button which shows the add friend button again. So, i have to add inside [cb if] condition to check if there is a connection between the 2 users. Can you give a hint with that?
You'll need to use CB Query Field to query the database and see if they're connected. You can then use an IF substitution on the query field.