Share all details related to your problem, including any error messages you may have received.
Hi All,
we have a requirement where we need custamized values in provisioning form field based on the request type(ondemand request or birthright provisioning). It is giving undefined variable accountRequest and project error. However both arguments are present in the FieldValue type rule.
Anyone knows the cause behind this and help to resolve the issue.
I think that the problem is that sometimes in fieldValue rule provisioning project can be null that’s why you are getting undefined variable error.
I would suggest to move your code to before provisioning rule where you ALWAYS have provisioning plan available and you can just inspect the plan to add needed suffix to the attribute request right before it goes to the connector.
It would be actualy fairly simple change in your code
Thanks for you reply.
For request based provisioning, I have to take input from user whereas for birthright role I have to populate value based on some logic. Hence I cant use before provisioning rule. As I have to put review required as false for birthright provisioning and keep it true for request based. So has to manage it on form leverl.