Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Dynamic technical rule creation failure

PHN
New Contributor III
New Contributor III

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.

PHN_1-1725977211979.png

Thanks,

 

11 REPLIES 11

rushikeshvartak
All-Star
All-Star

It is working for me 

rushikeshvartak_0-1725978232242.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

stalluri
Valued Contributor II
Valued Contributor II

@PHN 
Once you paste this on the object, are you getting a pop to select?
"SL ${user.orgunitid} ${user.departmentname}"

Screenshot 2024-09-10 at 9.46.13 AM.png

 If possible, can you share a small video snip, also, can you share logs in a text file?


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

PHN
New Contributor III
New Contributor III

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"

---------

Can you share short video on steps you are following


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

PHN
New Contributor III
New Contributor III

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.

PHN_0-1726082401039.png

PHN_1-1726082473002.png

 

 

 

Can you try copy pasting variable 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

which version you are trying as its working for me.

dgandhi_0-1726092431059.png

 

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.

PHN
New Contributor III
New Contributor III

Hi @rushikeshvartak 

Tried pasting variables but still same issue.

Hi @dgandhi 

I am working on v24.4. Which version it is working fine?

Thanks,

Pradip

adarshk
Saviynt Employee
Saviynt Employee

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. 

PHN
New Contributor III
New Contributor III

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.

FYI i have validated in 24.4.10 its working


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.