Symptoms
After upgrading the K2 environment to 4.7, SmartActions are no longer working.
Diagnoses
It seems like the EWSSyncState was a out-of-synced. During a meeting with the client i asked the to check if there was a value able entry, on the eK2].]MessageBus].]Ews_SyncState]) table and there was a value, however it seems the valueentry was out of sync.
Resolution
Steps below were taken to resolve the issue.
1) Deleting (or archive to another subfolder) all the messages that have been processed from the k2 service's mailbox and leave the emails you want to re-process.
2) Stop the K2 server service
3) Remember to make a K2 Database backup
4) Delete off the relevant record in the hK2].2MessageBus].sEws_SyncState]).
5) Start the K2 server service (this recreates the sync state entry we removed above) and test new instances.