Question

6
Replies
810
Views
DmitryK7052 Member since 2014 8 posts
Knowledge Expert
Posted: December 14, 2018
Last activity: January 4, 2019
Closed

Automatic commit doesn't happen on end of Utility or Flow

I have following setup:

Case Type with 3 Stages:

  1. On 1st I have an assignment with post activity where I do Obj-Save (without write now) on some Data Type
  2. On 2nd I'm checking that Data Type, using Data Page, and based on the check - skip or no few steps
  3. On 3rd - another assignment (doesn't matter what)

Problem that after post activity on 1st step instance of Data Type hasn't got committed to database. It got committed only before Assignment on 3rd step, so check on 2nd step failed. I can see it clearly from Tracer.

Why is it so? As far as I know Pega should commit everything automatically after every Utility shape, Assignment and end of flow.

Pega Platform Case Management
Moderation Team has archived post
Share this page LinkedIn