Posted: 9 Dec 2018 23:03 EST Last activity: 10 Dec 2018 2:48 EST
Open an existing work object instead of creating new when certain condition is met
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?
Duplicate case shape can be used after case is instantiated, right? I am checking it before case creation - need to call a logic in New Harness but before pyStartCase flow execution. Otherwise can you show me your sample code?
I know the logic. Can you show how and where to include that logic? Customizing a "Done" button on pyNewCaseHeaderInner is getting programmatic and I am looking for a better solution. If the solution is still configuring this button onClick can you show a sample code?