microsoft/Forge

SubroutineInput - StartOverOnRetry flag

Open

#27 opened on Aug 20, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (59 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (331 stars)
PR merge metrics
 (PR metrics pending)

Description

  • Current behavior is that Forge will remember the CurrentTreeNode of the Subroutine and visit that node on failover/retry.
  • What if the user would like to start from the RootTreeNode on retry?
  • I could see either behavior making sense, so we should add a property flag in SubroutineInput to determine the desired behavior.
  • Probably would need to delete all the state from subroutine session before retrying. I don't want to parse through the data though, so perhaps just starting a brand new subroutine SessionId would suffice.

Contributor guide