WF_DIRECTORY CreateAdHocRole or CreateAdHocUser?
Hi All,I have written up a procedure that will email users when a segment in our chart of accounts is nearing the end-date.
In the package, it checks to see if the user is still active in the system. If not, it then sends the email to a central finance email address.
I'm doing this by using the WF_DIRECTORY.CREATEADHOCROLE API.
The ad-hoc role is being created with the email address, but we are finding the email is not being sent out, while emails not using an ad-hoc role are being sent out.
Should i be using CreateAdHocRole or CreateAdHocUser? Or is there something else I should be doing?
In the package, it checks to see if the user is still active in the system. If not, it then sends the email to a central finance email address.
I'm doing this by using the WF_DIRECTORY.CREATEADHOCROLE API.
The ad-hoc role is being created with the email address, but we are finding the email is not being sent out, while emails not using an ad-hoc role are being sent out.
Should i be using CreateAdHocRole or CreateAdHocUser? Or is there something else I should be doing?
0