Question

4
Replies
287
Views
TSUCK Member since 2010 126 posts
PEGA
Posted: December 9, 2018
Last activity: December 10, 2018
Closed

Open an existing work object instead of creating new when certain condition is met

Hi,

Requirement:

User opens an existing work object instead of creating a new work object if certain condition is met. For example, in New Harness you have a drop down to select a country. If user selects USA, and submits, a new work object gets created because there are no records with USA in the Work table. After this operation, if user again selects USA and submits, then this time the former work object gets created because it already exists in the db.

Basically I want to return the first row pxResults(1) in Obj-Browse operation. There are a couple of approaches to build this, but I am looking for the simplest and best practice which works stably. Does anyone have any idea?

Thanks,

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn