For more information, please refer to this announcement explaining best practices for getting answers to questions.
Set Variable of Type Service Data Provider Programmatically in Action Chain
Hi,
Let me provide a brief about the issue, We have two lists: one for the Purchase Agreements and the other one for suppliers ( Suppliers count might be thousands), if the agreement got selected, supplier value should be loaded automatically based on the selected agreement and the field supplier should be disabled, but if the agreement field is empty, the user would be able select a supplier from the available suppliers list.
I tried to set the supplier value based on the selected agreement, but it looks like it would work sometimes and sometimes not work.
The reason behind that is the supplier list is based on Service Data provider Type ( and it should be like that as there might be thousands of suppliers), so the loaded supplier from the selected agreement might not exist on the initial loaded suppliers list, so the value not loaded on the supplier field.