Unable to invoke workflow containing "Wait for Form Task and Resume" Activity

I am trying to invoke a “Wait for Form Task and Resume” activity inside a work flow. But I am getting error saying “Invoke FindMACAddress workflow: An extension of type ‘UiPath.Activities.Contracts.Persistence.IPersistenceBookmarks’ must be configured in order to run this workflow.”

I have checked the Persistence Support option its already enabled. If I am commenting out “Wait for Form Task and Resume” activity work flow works fine.

Is it “Wait for Form Task and Resume” can be only invoked through main, as right now I am using REF.

Was facing the same issue, i placed the “Wait for **** Task and Resume” activity in the main.xaml and it worked.
currently its working in main file only.