I am working on JDBC Provisioning Rule. I have incorporated an Stored Function in the create operation, but I see few attributes are missing in it. Hence I have doubt that can I added insert/update query for the missing attributes??
Please find the below code which I am referring for.
Have you referenced the missing attributes in the create provisioning policy and have a reference to those attributes value wither via identity profile attributes or transforms or cloud rule?
And for your query of inserting ad-hoc insert/update query yes you can but again please try the above suggested way and then if it does not work have the insert queries.
If you put a logger in place, are you able to see all the values?
Also, confirm if the values you are trying to use in the Connector rule are being sent to the plan!
Reason being unlike Cloud rule you cannot access any identity attribute. You can only access the attributes that are sent on the plan.
So, Make sure for the user you are testing it, has all these values populated.
Moreover, navigate to search->search for the test user-> Account activity-> open the request which has been triggered for the JDBC source.
Verify that Attribute request has all the values that you needed in the connector rule. I.e all these 7 attributes should have a value or included in the plan.
Once you have policy setup, you can decide in provisioning policy what values you are going to send in the plan. You can either send identity attribute or account attribute. Once you have that ready, you can fetch value/attributes in plan.
For example, to fetch ‘first’ attribute that you send in plan, you can retrieve as follows: