Suppose we have a workflow code like this,
public void transfer(Account from, Account to, String refId, Amount amount){
account.withdraw(from, amount, refId);
System.out.println("Hello world");;
account.deposit(to, amount, refId)
}
Suppose the workflow started and withdraw activity is successful, the workflow history is updated and the log statement also is printed, but just before it goes to next activity something crashes.
When we resume this workflow in other container, do we print the log statement again ?
I am guessing YES, but just need your confirmation.