Thanks, Sigrid. I will create a ticket.
Sr. Manager, Data Governance
Original Message:
Sent: 07-31-2025 19:16
From: Sigrid Kok
Subject: Form Script Ran Once Created Multiple Records in SAP
Hi Andrew
Have not run into this issue as of yet, and we have had version 24.1 installed for some time ( today, we just upgraded to 25.1, the latest version).
Forms are hard to debug without the solution and a bit of context, especially with the plugin in case that flow is repeated because it's in a loop. However with a button, I would look at rules that execute a web service (aka script) and also ensure the logic for the plugin doesn't also do the post.
For example, I have one solution that allows you to set a flag to do a background post for some scripts later in the process. If there are errors, it routes it back to a person to fix the data and then finally post in the foreground. You have to ensure both don't happen - foreground and background - especially important with repeating, but you are sharing that's not the case.
Also, please check the script in case there is a loop or IFs that may do something unexpected - although this suggestion is a long shot :)
I suggest opening a support ticket. They will likely need solution logs with tracing level set to debug. It's also helpful to know if it's just this one solution or all solutions and if there's a flow through the process that causes it.
You can also attach the solution here and I can take a look, but support will be your best route for a resolution, as they can engage others like engineers, as needed.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
*Precisely Software Inc.
Original Message:
Sent: 07-31-2025 18:07
From: Andrew Landry
Subject: Form Script Ran Once Created Multiple Records in SAP
Hi All,
Has anyone run into an issue where the transaction logs in the Evolve DB only show one execution of a script with only one record created in SAP, but in actuality it created multiple records in SAP?
For context, this is not a repeating table in a form. In one scenario the script is controlled by a plug-in after the user advances the form. In another scenario it is controlled by a button. In the case of the button, I physically was present when the user pushed the button once and only once.
We recently updated to version 24.1 for Studio and Evolve. Both forms mentioned above recently had modification to scripts that were updated in the form.
I came across article 54158 (link below), that mentioned Evolve having duplicate script files. I'm not sure if this is the same since we updated and then started seeing issues.
https://customer.precisely.com/s/article/Evolve-Duplicate-script-embedded-into-data-template-4711458202139?language=en_US
Any help would be greatly appreciated.
------------------------------
Andrew Landry
Associate Director, Enterprise Reporting
Leprino Foods Company
CO
------------------------------