I have a use case where I need to postpone a QueueItem in the Process.xaml file using REFramework. There are other workflows that follow after postponing the QueueItem. These should not be executed once the QueueItem is postponed. Raising a BRE or an Application Exception does’t seem to be an option as the QueueItem is not available anymore. I have also tried the Terminate Workflow activity, which inturn seems to raise an Application Exception and eventually doesn’t work as the QueueItem is already Postponed. I was wondering if there is a way to solve this problem.
Just throw BRE with “Postpone” or some unique identifier for the BRE and in Set Transaction Status at BRE sequence add one if condition to check if BRE message = “Postpone”.
If true - Add Postpone transaction activity to postpone it
else - Let the default code fail it with BRE