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

customqueryjob & enhancedqueryexecution job update formats

Harish1
New Contributor II
New Contributor II

Hi

Recently our saviynt version upgraded from 23.5 to 23.12, we're facing the problem with custom query jobs. 

In generally if any task is error out, we used to reopen and reprovision it. Below is the query we are using in custom query job. 

update arstasks set status=1 where taskkey=2322

Kindly suggest us the right format in enhancedqueryexecution job.

 

5 REPLIES 5

Manu269
All-Star
All-Star

@Harish1 why dont you try it via analytics.

You can get the report to fetch the error task and then configure default action

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

rushikeshvartak
All-Star
All-Star

Select taskkey as arstasks__taskkey , 1 as arstasks__status from arstasks where taskkey=999


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

Thank you for your response, while creating the job using above query, we're facing the below error.

Select taskkey as arstasks__taskkey , 1 as arstasks__status from arstasks where taskkey=2322

Harish1_1-1705575978626.png

 

Harish1_0-1705575893749.png

Regards,

Harish

Select taskkey as arstasks__primarykey , 1 as arstasks__status from arstasks where taskkey=2322


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

If above query worked accept solution and close the thread


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