I have configured 2 operations in application,
- Test Connection
<entry key="sequenceNumberForEndpoint" value="1"/> <entry key="uniqueNameForEndPoint" value="Test connection"/>
- Account Aggregation
<entry key="sequenceNumberForEndpoint" value="2"/> <entry key="uniqueNameForEndPoint" value="Get Users"/>
I am using custom authentication, which will save the generated token in application “accesstoken” entry.
Test connection works fine and it saves the token in application as well. Please find the screenshot below
When I run account aggregation, ideally it should first run the Test Connection operation, get the new token and then run the account aggregation as per sequence number.
But the connector is not calling the 1st operation in sequence and directly calls the 2nd operation, which ofcourse fails the aggregation.
I can fix this issues using Before Rule in all my operations and get the connection token programatically, but is there any other solution to this?
Thanks in advance.