End the REFramework process after Postponing a QueueItem

Hi All,

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.

Appreciate your inputs
Thanks
Hara

@Hara_Gopal,

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

Thanks,
Ashok :slight_smile:

Found a way to do this. Created a new Transition from Process Transaction phase to Get Transaction Item phase based on a boolean