Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

User update rule not getting triggered for REST connector to generate update user task

krecpond
New Contributor III
New Contributor III

I have a requirement to update the network ID updated on CP42 to a calculated field in Workday. According to Workday tech team, calculated fields can only be updated via a REST connection.

I have the rest connection set up with the following USERUPDATE JSON configured:

 

{
"actions": {
"UpdateLogin": {
"call": [{
"name": "call1",
"connection": "userAuth",
"url": "https://XXXXXX.com/ccx/api/v1/company2/customObjects/companyLoginId/companLoginId?updateIfExists=tru...",
"httpMethod": "POST",
"httpParams": "{\"id\": \"${user.customproperty41}\",\"XXXXXXXLoginId\":\"${user.customproperty42}\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [200]
},
"unsuccessResponses": {
"statusCode": [400, 401, 500, 404, 403, 409]
}
}]
}
}
}

krecpond_0-1665766728944.png

 

 

I have a user update rule that when the user CP42 is updated via UI, to trigger a Create Update User Task using the connection and Object as Update Login.

However, when I update the user via the UI, the rule does not getting triggered and I dont see a reference to the rule in the Update history of the user although the value has changed on CP42.

Note - All the conditions of the user update rule are satisifed for the test user. The version of EIC is v2022 (latest release).

Is an Update User task not supported for REST connector?

9 REPLIES 9

Sivagami
Valued Contributor
Valued Contributor

While creating the rule, did you pick the appropriate trigger action? Per your description, you tried updating via UI - In that case, did you update the trigger action as Trigger When user is updated from UI

Sivagami_0-1665767917694.png

-Siva

krecpond
New Contributor III
New Contributor III

It is configured correctly.

 

krecpond_0-1665769134162.png

 

rushikeshvartak
All-Star
All-Star

I see issue in User Update rule.

When you use IN for User Type & Statuskey , You dont have to add () in values section

for example statuskey value column should be '1','Active'  

rushikeshvartak_0-1665769276205.png

 


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

krecpond
New Contributor III
New Contributor III

I removed the paranthesis for the statuskey and user type but still the rule is not getting triggered for the updates made to CP42 via the UI.

krecpond
New Contributor III
New Contributor III

After changing the update rule to Advanced config and replacing IN conditions with OR conditions and changing usertype to employeeType the rule is getting triggered.

Now the next issue is that the update user task is not getting picked up although I have the Advanced option configured on the retry to pick up tasktype=9.

Any thoughts on this?

You have to run job without adding any filters 


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

krecpond
New Contributor III
New Contributor III

Without the filters, no pending task is getting picked. We must configure the and at.tasktype=9.

 

krecpond_0-1665778855436.png

 

Provisioning connection is attached? And automated provisioning ?


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

krecpond
New Contributor III
New Contributor III

For writing details back to Workday about the user's email and networ ID, there is no need of security system. It is an API call using the UPDATEUSER JSON. There is no endpoint in Saviynt only a REST connection to Workday.