I'm trying to populate a new table column based on API calls. After populating the table with the initial data, I try to loop over each row and add a key-value pair to the object representing the row. The value depends on whether the API query succeeded or failed. The data returned from the API query is fine, but I think there's a scope issue with the variable I'm updating in the onSuccess
and onFailure
arguments to trigger
. After the call to trigger
, the variable remains unchanged. Any ideas? TIA!
1 Like
Can you post the console log?
Is the licenseID changing through each iteration?