[progress Communities] [progress Openedge Abl] Forum Post: Trigger Action Create 2...

  • Thread starter Thread starter caylali
  • Start date Start date
Status
Not open for further replies.
C

caylali

Guest
Hi Team, Please help me to understand the expected result of triggers workflow action here. I add a "Create record" trigger to "Run selected triggers" workflow Action. In the meantime, I added the below condition to the trigger to avoid duplicated data. However, there are still 2 identical records created at the same time when the action is proceed. var m_Name = '{!name#text}'; var isResellerExist = rbv_api.selectQuery("SELECT name FROM Reseller where name=?", 1, m_Name); if ("{!Potential#value}" === "Reseller" && isResellerExist.length <= 0) { return true; } else return false;

Continue reading...
 
Status
Not open for further replies.
Back
Top