and more in a single search tool across platforms. Read the announcement here. |
02/22/2024 10:23 AM
Hi,
We are currently implementing the TPAG module, and as part of this, we are configuring the organization approval workflow. The organization details are stored in the customproperties, within the attributes, under the organization owner. We want to define an approval workflow based on which attribute has been updated.
For example, if the domain values are updated, it should go for line manger approval. if customproperty1 is updated, it should go for organization primary contact approval.
To create this in the organization workflow, we need to know which organization attribute is updated inside the workflow. Could someone advise which tables we should refer to and what the further process entails?
Any guidance would be greatly appreciated.
02/25/2024 06:28 PM
use request_Access_attrs table which stores values in column ATTRIBUTE_OLDVALUE & ATTRIBUTE_VALUE co
02/28/2024 01:27 AM
Hi @gokul
Please refer to the below post for table related to organization attributes.
Solved: Database Query to get organization attributes deta... - Saviynt Forums - 57644
Regards,
Dhruv Sharma
02/28/2024 11:15 AM
Hi @Dhruv_S
Thanks for you response!
Based on my use case, I need to identify which attributes/customproperties were updated during the organization update process to redirect the approval workflow according.
Can you advise on how to achieve this using the above mentioned solution.
Regards!
Gokul
02/28/2024 11:00 AM - edited 02/28/2024 11:02 AM
HI @rushikeshvartak
Thanks for your reply. Can you provide some sample query to get the updated organization customproperty old value and attribute value from the request_Access_attrs table.
03/12/2024 07:47 PM
Already shared in previous reply
03/12/2024 04:46 AM
Hi @gokul ,
Please correct me if I am wrong, looking at the use case, you are updating customproperty<1-28> of an existing organization which should route approvals for different users based on customproperty update. In my opinion, this workflow would be complex. Hope the below solution helps you.
SELECT c.customername,
ch.customproperty23,
chc.creationdate,
chc.fieldname,
chc.oldvalue,
chc.newvalue,
chc.operation
FROM customer c
LEFT OUTER JOIN customer_history ch
ON c.customerkey = ch.customerkey
LEFT OUTER JOIN customer_historychangelog chc
ON chc.customerhistorykey = ch.customer_historykey
WHERE c.customerkey = 3
ORDER BY chc.creationdate ASC
03/20/2024 05:51 AM
Thanks @PremMahadikar
We have encountered a limitation in handling workflow approvals when more than one attribute is updated simultaneously. Consequently, the client has agreed to proceed with a defined two -level approval workflow.