How to update value from process model

Hi All,

Please help me setup process model to update the value of few fields of table through pm:

1. I have to update the value of is Read by clicking on envelope icon from false to true and vice versa and update read on as well 

2. similarly by clicking on star icon I want to update value of is archive from false to true and vice versa 

3. similarly by clicking on cross icon I want to update the value of is delete from false to true and vice versa and update deletedon and deleted by as well
Please help me achieve  this,

Thanks

  Discussion posts and replies are publicly visible