Windows Domain Password Expiring Notifier - Row Index out of bounds

Support forums for the Habitat Automate plugin
Post Reply
dougan78
Posts: 2
Joined: Thu Jul 14, 2016 1:21 pm
7

Windows Domain Password Expiring Notifier - Row Index out of bounds

Post by dougan78 »

Getting a failed in the Then section at step 31. The reason: Row index out of bounds on this Password expiration notifier. Maybe there is a maximum number of users this supports?

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Windows Domain Password Expiring Notifier - Row Index out of bounds

Post by Cubert »

I am aware of no limits in loops but with ConnectWise anything is possible.


Try running in Habitat SQL analyzer the following, Change "clientid" to an actual ID your getting errors with.

Code: Select all

SELECT * FROM plugin_p4a_habitat_expiry_email Where ClientID = 'clientid'

Look to see if any irregular data comes up in the query or do you get an complete block of data?


You can also add a new script function after line 31 to script log @EMAILLOOP@ to see what the count is when it dies. if count is 1 then some things wrong. if count is "57" then we know we had 56 good loops so we look at data after 57 rows.

dougan78
Posts: 2
Joined: Thu Jul 14, 2016 1:21 pm
7

Re: Windows Domain Password Expiring Notifier - Row Index out of bounds

Post by dougan78 »

Thanks, the table was helpful. I reviewed the table and there was no data, it turned out it didnt like my ldap settings. So after adjusting the LDAP directory root it worked as expected.

Cheers!

Post Reply

Return to “Habitat”