Question

8
Replies
337
Views
Aditya Boggarapu (bogga)
PEGA
Solutions Engineer
Pegasystems Inc.
IN
bogga Member since 2015 28 posts
PEGA
Posted: January 28, 2016
Last activity: April 13, 2017
Posted: 28 Jan 2016 5:01 EST
Last activity: 13 Apr 2017 12:20 EDT
Closed
Solved

How to uncheck "Validate Physician Details" when there are validation errors on pyworkpage


SCENARIO:


On click of submit; when finish assignment is run, then validation errors occur(if any) on PyWorkPage and also in current section. If there are no errors flow moves forward


If there are errors, again current screen comes up


If this is the case, then already checked "Validate Physician Details" must be unchecked automatically


APPROACH USED:


A DT Is called on custom SUBMIT (before finish assignment, on Actions tab) which sets Validate Physician Details checkbox to false, if there are any errors in pyworkpage


PROBLEM FACED:


This is working, only from second time as for the first time when SUBMIT is pressed, then DT would be run first and at the last validations,FINISH ASSIGNMENT was run(by pega)


For the first time as validations on flow action are still not processed, no errors would occur on pyworkpage and hence Checkbox is not unchecked


SUPPORTING SCREENSHOTS:

SCENARIO:

On click of submit; when finish assignment is run, then validation errors occur(if any) on PyWorkPage and also in current section. If there are no errors flow moves forward

If there are errors, again current screen comes up

If this is the case, then already checked "Validate Physician Details" must be unchecked automatically

APPROACH USED:

A DT Is called on custom SUBMIT (before finish assignment, on Actions tab) which sets Validate Physician Details checkbox to false, if there are any errors in pyworkpage

PROBLEM FACED:

This is working, only from second time as for the first time when SUBMIT is pressed, then DT would be run first and at the last validations,FINISH ASSIGNMENT was run(by pega)

For the first time as validations on flow action are still not processed, no errors would occur on pyworkpage and hence Checkbox is not unchecked

SUPPORTING SCREENSHOTS:

SOLUTION: ?

***Updated by moderator: Lochan to add Categories***

Case Management User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.