Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Actionable Analytic Error: Failure : Cannot invoke method split() on null object

ram81
New Contributor III
New Contributor III

We are trying to execute this actionable analytic and receiving the error below when executing the analytics job. The accounts are identified in the analytic report but updateaccount tasks are not created.  How can we resolve this issue?

SELECT a.accountID as 'DN', a.accountkey as 'acctKey', u.username, 'updateAccount' as 'Default_Action_For_Analytics' FROM users u left join user_accounts ua on u.userkey=ua.userkey left join accounts a on ua.accountkey=a.accountkey WHERE a.endpointkey=86 and a.accountID not like "OU=Users,OU=IdentityManagement,DC=TESTING,DC=net"

Results from Job History:

AnalyticESFIMStub Test Account UpdateSuccess [ 218 violations saved ]



Error: 

Failure : Cannot invoke method split() on null object
10 REPLIES 10

rushikeshvartak
All-Star
All-Star

When you are getting error after taking action ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

If you mean after the analytic job has run yes. But the updateaccount task are not created

  • Please share logs in file and
  • provide screenshot of analytics config
  • take action manually and check if error exists

Try query without single quote 

SELECT a.accountid     AS DN,
       a.accountkey    AS acctKey,
       u.username,
       'UpdateAccount' AS Default_Action_For_Analytics
FROM   users u
       LEFT JOIN user_accounts ua
              ON u.userkey = ua.userkey
       LEFT JOIN accounts a
              ON ua.accountkey = a.accountkey
WHERE  a.endpointkey = 86
       AND a.accountid NOT LIKE
           'OU=Users,OU=IdentityManagement,DC=TESTING,DC=net'; 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

dgandhi
All-Star
All-Star

Can you try below query?

SELECT a.accountID as 'DN', a.accountkey as 'acctKey', u.username, 'updateAccount' as 'Default_Action_For_Analytics' FROM users u left join user_accounts ua on u.userkey=ua.userkey left join accounts a on ua.accountkey=a.accountkey WHERE a.endpointkey=86 and a.accountID not like "%Users,OU=IdentityManagement,DC=TESTING%"

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

ram81
New Contributor III
New Contributor III

Same error. The additional "%" didnt change anything. 

Paste screenshot of your query and analytics config and also exact error.

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

ram81
New Contributor III
New Contributor III
 

In Allowed Action dropdown, select update account.

https://docs.saviyntcloud.com/bundle/EIC-Admin-v24x/page/Content/Chapter17-EIC-Analytics/Managing-An...

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

  • Allowed Action is not selected in report
  • Also Action name in query 'UpdateAccount' not updateAccount

rushikeshvartak_0-1711567975540.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Thanks!!