Hi everyone, I am using a service to update FormA form FormB.
Service Configuration: FormA / Form 1 / Submit/ Update (S_myUpdateButton) / Update
To update only a specific data record, I map a specific data record ID with FormA. So far so good!
Unfortunately, there is no way to link a specific field from FormB to FormA so that I can also synchronize a field in FormA. You can only trigger the S_myUpdateButton via the service.
Since there is no output assignment, I wanted to use the variable pActionId from FormA: The idea was that when this submit S_myUpdateButton by the Service from FormB, my javascript-code in the validateButtonPressed-Event from FormA is executed.
FormA validateButtonPressed:
if(pActionId === 'S_myUpdateButton') {
BO.F_field.setValue(“yes”);
}
But unfortunately, it seems that the validateButtonPressed event of FormA is not triggered when the button is “pressed” by a service of FormB.
Does anyone have any idea how I can populate the field in FormA when FormA is updated by a service from FormB?
Thank you very much
Vici