Invoke a rule event when someone in the group accepts a task

When someone in the group accepts a task, I want a rule event to be triggered which will be used to update the status in db for that particular request.

I tried using 'getprocesshistoryinfo' to identify if the status has changed based on "actionTypeName" to trigger the rule event(expression) but the process failed with error - Paused by Exception.

I tried the same with 'gettaskacceptedtimestamp'. Even the same issue(Paused by Exception) is observed here.

Is there a way to achieve this?

  Discussion posts and replies are publicly visible