Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/10/2024 07:14 AM
Hello All,
I am trying to create the technical rule to dynamically assign enterprise roles to users.
Has anyone come across the following issue?
Object Type: Enterprise Role
Object: SL ${user.departmentname} - Working
Object: SL ${user.orgunitid} ${user.departmentname} -Not working when using two dynamic variables
Preview is working but when trying to save the role, it's giving below error pop-up.
The Object value in action is not valid: 'SL ${user.orgunitid} ${user.departmentname}'. Please use '${user.attribute}', for attributes related to the 'user' object.
Thanks,
Solved! Go to Solution.
09/10/2024 07:26 AM
It is working for me
09/10/2024 07:47 AM
@PHN
Once you paste this on the object, are you getting a pop to select?
"SL ${user.orgunitid} ${user.departmentname}"
If possible, can you share a small video snip, also, can you share logs in a text file?
09/11/2024 06:32 AM - edited 09/11/2024 06:32 AM
Thank you for your response @stalluri
If I paste this on object "SL ${user.orgunitid} ${user.departmentname}" then getting pop up to select the object but when trying to save the rule it is giving the same error.
During the activity, below lines were printed in the logs
-----
"2024-09-11T11:46:44.286+00:00","ecm","hana.HanaRuleController","http-nio-8080-exec-69-jtxff","DEBUG","Count Query is common for both basic and advanced rulesselect count(*) as CNT from Users a where a.statuskey = 1 and a.email is not null and a.systemUserName is not null and a.orgunitid ='TSL' and a.customproperty18 is not null and a.customproperty11 is null"
"2024-09-11T11:46:44.292+00:00","ecm","hana.HanaRuleController","http-nio-8080-exec-69-jtxff","DEBUG","Exit technicalRuleUserPreview"
"2024-09-11T11:46:44.394+00:00","ecm","hana.HanaRuleController","http-nio-8080-exec-71-jtxff","DEBUG","Started validateDynamicObject"
"2024-09-11T11:46:44.395+00:00","ecm","hana.HanaRuleService","http-nio-8080-exec-71-jtxff","DEBUG","Dynamic Attributes should only be used with 'user.' and no other object."
"2024-09-11T11:46:44.395+00:00","ecm","hana.HanaRuleService","http-nio-8080-exec-71-jtxff","DEBUG","Validation Response : false"
"2024-09-11T11:46:44.396+00:00","ecm","hana.HanaRuleController","http-nio-8080-exec-71-jtxff","DEBUG","Ended validateDynamicObject"
"2024-09-11T11:46:38.766+00:00","ecm","controllers.HomeController","http-nio-8080-exec-29-9tqlt","DEBUG","check session"
---------
09/11/2024 06:44 AM
Can you share short video on steps you are following
09/11/2024 12:21 PM
Sorry unable to attach the recorded video.
I am typing the rule as below. Then click on Send for Approval to Save the rule but getting error.
09/11/2024 02:10 PM
Can you try copy pasting variable
09/11/2024 03:07 PM
which version you are trying as its working for me.
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.
09/13/2024 01:58 AM
Tried pasting variables but still same issue.
Hi @dgandhi
I am working on v24.4. Which version it is working fine?
Thanks,
Pradip
09/13/2024 02:15 AM - edited 09/13/2024 02:21 AM
This is working as expected in 24.7
This issue was observed in 24.4 and is fixed in 24.7. Please work with your CSM to get the environments upgraded.
09/13/2024 02:48 AM
Thank you @adarshk
As per responses and discussion, it seems like bug in v24.4 but working in other version so created ticket on Saviynt portal.
Thank you.
09/13/2024 05:51 AM
FYI i have validated in 24.4.10 its working