Question
2
Replies
156
Views
Posted: January 25, 2016
Last activity: February 2, 2016
Closed
Solved
How to stop wrap up if Intent has validation error in CPM
Hi,
May I ask for assistance if possible to stop wrapping up in the Interaction when there is still open intent task with validation error.
We want to force the user to populate the field in the Intent task before wrapping up. We are using CPM 7.1.3 and Pega 7.1.8
Thank you for your kind assistance.
Regards,
Ramon
Message was edited by: Vidyaranjan Av
Edited- CPM1.7.3 and Pega 1.7.8
I can think of two ways you might proceed, although you will have to investigate to see if either is possible.
There is a Data Page Declare_CAApplicationSettings which calls a DT called "pyDefault". There is a setting for .WrapUpInFlightWarning = true. You might examine how this logic works (it currently warns if there are any open service intents) and see if you can modify it slightly so that only open intents with errors cause the warning.
Alternatively, you might be able to add some basic FlowAction validation to accomplish the same thing.
Good luck!