Extract Documents to Folder based on Managed Metadata Column - SharePoint

I wanted to Enable the Nintex Workflow Features for the
newly created web application. The moment selects the web application and click
ok to Activate the feature, below error appeared.
Different Posts on Nintex Community was saying different
options for the same error. On of those was database Logical name was different
than source Farm DB. But in my case even I make database logical names same, it
did not work for me.
Then I had to check with Nintex Support for further details
and they helped me to get the solution
Sorry, something went wrong
Warning: Unable to add the application pool account to the Nintex
Workflow database. If you have permissions problems, contact support@nintex.com for
assistance.
Technical Details
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: be63519f-6822-4080-8d49-03863e6e0832
Date and Time: 5/11/2020 6:06:34 PM