Question
Pegasystems Inc.
JP
Last activity: 10 Dec 2018 2:48 EST
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,