How to get previous workflow activity of workflow process path

Hi,

Do you know how to get previous (From) workflow activity of workflow process path in ARAS?

We added a Post method on workflow process path and tried to access "this". But "this" contains only destination (To) activity ID.

However, we are able to get previous (From) state and destination (To) state of a lifecycle transition by accessing "this".

Any pointers would be really helpful.

Best Regards,

Sameer