How to use get transection framework state in Gmail password change action?

Process steps like that
1)Initialization State: initialize gmail and login, fetch all the Target name for which the Username & Password needs to be updated.

  1. Get transaction State: iterate through target name(Windows credential).

  2. Process Transaction: Implement credential reset, re-login to validate new password , update the excel.

I assume you are referring to RE framework.

Store all target names from init state in an array and initalize a counter to 0.

For the first time, access the 0th element of your array in the get transaction state. This can be passed to process transaction state. Keep incrementing counter by 1 for every transaction so that you can access next element of the array in get transaction state.