Hello everybody,
we got a weird issue with the 10.0.1 enterprise edition (that can not be reproduced on a 10.0.0 on site or 10.1.0 cloud).
I got a new module call "SUBMISSION" ; a Submission is linked to multiple ANSWERS (also a new module).
For instance :
SUBMISSION A
- Answer to question A1 : yes
- Answer to question A2 : 28
- Answer to question ... : xxxx
We created a new entry point, in order to create a new submission and the related answers through code.
Everything works fine, the records are correctly created.
We also created a new BPM workflow that is triggered every time a new Answer is created.
We use the following code to ensure that the BPM will be triggered for each record : https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_10.0/Architecture/SugarBPM/#Caveats as we are aware that there's a security to avoid "looping" on BPM with custom code.
But, even with that. the BPM is triggered only for the first record.
If I update manually each record of the Answer module, it works fine.
We also did another test : the same issue happened if we mass update, from the interface, several records that should trigger the same BPM workflow. This works fine on a 10.0.0 and a 10.1.0.
Any help / hotfix is welcome because this is something really important for my customer.
My favorites experts ;-) Angel Magana Cédric Mourizard Matt Marum Michael Shaheen Francesca Shiekh Enrico Simonetti Alex Nassi Jeff Bickart
Best regards,
Fred