The connected system data source does not exist or you have insufficient permissions to perform the requested operation.

Certified Senior Developer

Hello everyone,

I am getting this error. 

The connected system data source does not exist or you have insufficient permissions to perform the requested operation.

I have already followed below steps:

1. Tested connection system - working fine.

2. Executed stored procedure - Working fine

Please suggest.

Thanks

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

     when exactly are you seeing this error?

    I would suggest verifying the permissions of the user credentials used in the data source connected system. It's possible that the credentials you are using might not have the necessary permissions to execute queries against the specific table or view you're trying to access.

    A good way to check this is by trying to run a query directly against that table or view in the database using the same credentials. This can help confirm whether the issue is with permissions at the database level.

    Give it a try and let us know.

  • 0
    Certified Senior Developer
    in reply to Luis Beteta

    I have tested and executed procedure in database that is working fine.

    I got an issue with the node permission.

    It was:  Run as whoever designed this process model

    I changed this to "Run as whoever started the process"

    It would be appreciated if you can answer this - if this is a right way of changing this permission. Because the process was designed by someone else and his account is deactivated. Although this process was working fine after deactivating the account. But suddenly it misbehaves so I changed this node permission "Run as whoever started the process".

    FYI: this issue comes in DEV only. TEST and PROD is working fine.

    Please advice if it's good to change the permission from "Run as whoever designed this process model" to "Run as whoever started the process"?
    Thanks
  • +1
    Certified Senior Developer
    in reply to manjit.1486

    Got it! From my experience in all the projects I've been part of, we configure a 'System' swim lane with "run as designer" in that lane we would have write to db nodes, queries, or any other database related operations. When deploying to higher environments, always use compare and deploy, or deploy using a service account that will never be deactivated. This ensures that in higher environments your process models will continue to run smoothly. In your dev environment, all you would need to do is republish that process model, and things should return to working order.

    The issue with "run as initiator" is that it doesn't take into account if assignment changes, also if the particular user currently assigned the task gets deactivated it can break the process.

    Now, I know there are different schools of thought on this, but what I described above is what I've observed through my experience.

Reply
  • +1
    Certified Senior Developer
    in reply to manjit.1486

    Got it! From my experience in all the projects I've been part of, we configure a 'System' swim lane with "run as designer" in that lane we would have write to db nodes, queries, or any other database related operations. When deploying to higher environments, always use compare and deploy, or deploy using a service account that will never be deactivated. This ensures that in higher environments your process models will continue to run smoothly. In your dev environment, all you would need to do is republish that process model, and things should return to working order.

    The issue with "run as initiator" is that it doesn't take into account if assignment changes, also if the particular user currently assigned the task gets deactivated it can break the process.

    Now, I know there are different schools of thought on this, but what I described above is what I've observed through my experience.

Children