diff --git a/src/cli/java/org/commcare/util/screen/SyncScreen.java b/src/cli/java/org/commcare/util/screen/SyncScreen.java index 73a287e29..3994357e1 100644 --- a/src/cli/java/org/commcare/util/screen/SyncScreen.java +++ b/src/cli/java/org/commcare/util/screen/SyncScreen.java @@ -125,6 +125,10 @@ public void updateSessionOnSuccess() { sessionWrapper.addExtraToCurrentFrameStep(EXTRA_POST_SUCCESS, true); } + public Boolean isPostAlreadyAttempted() { + return sessionWrapper.getCurrentFrameStepExtra(EXTRA_POST_SUCCESS) != null ; + } + @Override public String[] getOptions() { return new String[0];