Skip to main content
Nintex Community Menu Bar

Error with multiple BCS Query to the same Entity

  • August 14, 2015
  • 4 replies
  • 16 views

Forum|alt.badge.img+11

Hi,

 

I'm trying to do a workflow that queries a BCS multiple times during the execution, passing each time a different filter, so I can retrieve different information for different rows..

My first Query BCS action executes fine and it gets the values correctly but if I do a second Query BCS Action (even copying the previous one), it errors with Access Denied:

 

BCS Error.PNG

Anyone has any idea why this happen?

 

Thanks for you help!

 

Giacomo

4 replies

Forum|alt.badge.img+11
  • Author
  • Nintex Partner
  • May 26, 2016

Hi, unfortunately I've not been able to solve this.

Because I was using BCS to read from a SQL table, I've changed my Query BCS actions to a more direct Execute SQL and I query my source in that way instead of using BCS


Forum|alt.badge.img+13
  • Novice
  • May 26, 2016

Is there a timing issue with this? Is there a time gap between the actions?


Forum|alt.badge.img+13
  • Novice
  • May 26, 2016

Yes, that's down to the timer service. If it had been a "show-stopper" you could have looked at changing the timing intervals for the timer service, but that's a farm change obviously, and you have got around it.

How about the Commit Pending Changes action? I can't say for sure that it is a timing issue, but that would have been my first thought to rule out. You might also be able to find something in the ULS logs, even though there is no correlation ID, that error code would have been produced and with time and date you could investigate any further details in the logs.


Forum|alt.badge.img+1
  • Rookie
  • July 19, 2016

yes, I seem to have the same problem. Querying the BCS once is fine but after that, it gives the error "Access is denied"